commit | 1a77b127ae147f5827043a9896d7f4cb248b402e | [log] [tgz] |
---|---|---|
author | Shubhrajyoti D <shubhrajyoti@ti.com> | Sat Mar 17 12:44:01 2012 +0530 |
committer | Shubhrajyoti D <shubhrajyoti@ti.com> | Mon Mar 19 18:14:07 2012 +0530 |
tree | 5357d7e457307e698bd635c837774d271588cd4f | |
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>