diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-03-17 12:44:01 +0530 |
---|---|---|
committer | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-03-19 18:14:07 +0530 |
commit | 1a77b127ae147f5827043a9896d7f4cb248b402e (patch) | |
tree | 5357d7e457307e698bd635c837774d271588cd4f /lib/mpi/mpi-mul.c | |
parent | 9fdca9dfe093c76fe1ac1a09888ba9679d46996a (diff) |
OMAP : SPI : use devm_* functions
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>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions