watchdog: omap_wdt: convert to devm_ functions
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 10 Oct 2012 20:23:33 +0000 (23:23 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 19 Dec 2012 21:24:56 +0000 (22:24 +0100)
commit4f4753d96d30cf4477eafa077ae7f1326a80c1d8
tree23ee018d90941a9ec6ff996d79d3aa216bf90fb0
parent67c0f55468443ef8a1edc6ee92f9a92e4915be24
watchdog: omap_wdt: convert to devm_ functions

Use devm_kzalloc(), devm_request_mem_region() ande devm_ioremap()
to simplify the code.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c