From ae21cc20a604b45e97d0cdbce7e9302ce7dd7d5c Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 15 Apr 2012 12:27:33 +0200 Subject: [PATCH] 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-format-patch failed