From: Julia Lawall Date: Sun, 15 Apr 2012 10:27:33 +0000 (+0200) Subject: watchdog: ar7_wdt.c: use devm_request_and_ioremap X-Git-Tag: v3.5-rc1~113^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae21cc20a604b45e97d0cdbce7e9302ce7dd7d5c;p=pandora-kernel.git 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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed