summaryrefslogtreecommitdiffstats
path: root/drivers/block/osdblk.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-04-15 12:27:33 +0200
committerWim Van Sebroeck <wim@iguana.be>2012-05-23 16:16:43 +0200
commitae21cc20a604b45e97d0cdbce7e9302ce7dd7d5c (patch)
tree98227beedb9dd62067d9daeb412b75852e6243df /drivers/block/osdblk.c
parent065e8238302b630046ba3621943907cf509e78dd (diff)
downloadblackbird-op-linux-ae21cc20a604b45e97d0cdbce7e9302ce7dd7d5c.tar.gz
blackbird-op-linux-ae21cc20a604b45e97d0cdbce7e9302ce7dd7d5c.zip
watchdog: ar7_wdt.c: use devm_request_and_ioremap
Combine request_region and ioremap into devm_request_and_ioremap. This has the effect of fixing a missing iounmap on the failure of clk_get. This also introduces a call to clk_put and clears the vbus_clk variable in the case of failure or device removal. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/block/osdblk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud