From 19f505f09c60d637c695a8e8c4768570e2309631 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Thu, 2 Feb 2012 18:48:08 +0100 Subject: [PATCH] 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-format-patch failed