diff options
author | Benoit Cousson <b-cousson@ti.com> | 2012-02-01 16:01:39 +0100 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-03-05 23:02:52 +0100 |
commit | 96751fcbe5438e95514b025e9cee7a6d38038f40 (patch) | |
tree | b9193d0fcccbac8738cf934e37da1934ab3ebfff /drivers/gpio/gpio-pcf857x.c | |
parent | 862ff64011e606582cec80cc3fa4fcd3e585d76f (diff) |
gpio/omap: Use devm_ API and add request_mem_region
Replace the regular kzalloc and ioremap with the devm_ equivalent
to simplify error handling.
Add the missing devm_request_mem_region to reserve the region used
by the driver.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Diffstat (limited to 'drivers/gpio/gpio-pcf857x.c')
0 files changed, 0 insertions, 0 deletions