From: Wolfram Sang Date: Thu, 2 Feb 2012 17:48:08 +0000 (+0100) Subject: watchdog: pnx4008: cleanup resource handling using managed devices X-Git-Tag: v3.4-rc1~67^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f505f09c60d637c695a8e8c4768570e2309631;p=pandora-kernel.git watchdog: pnx4008: cleanup resource handling using managed devices The resource handling in this driver was flaky: IO_ADDRESS instead of ioremap (and no unmapping), an unneeded static resource, no central exit path for error cases. Fix this by converting the driver to use managed resources. Also use dev_*-messages instead of pr_* while we are here. Signed-off-by: Wolfram Sang Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed