OMAP : SPI : use devm_* functions
authorShubhrajyoti D <shubhrajyoti@ti.com>
Sat, 17 Mar 2012 07:14:01 +0000 (12:44 +0530)
committerShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 19 Mar 2012 12:44:07 +0000 (18:14 +0530)
The various devm_* functions allocate memory that is released when a driver
detaches. This patch uses devm_request_and_ioremap
to request memory in probe function. Since the freeing is not
needed the calls are deleted from remove function.Also use
use devm_kzalloc for the cs memory allocation.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>

No differences found