From: Thomas Gleixner Date: Wed, 14 Oct 2009 08:18:26 +0000 (-0700) Subject: watchdog: Fix rio watchdog probe function X-Git-Tag: v2.6.32-rc5~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03717e3d12b625268848414e39beda25e4515692;p=pandora-kernel.git watchdog: Fix rio watchdog probe function After sucessfully registering the misc device the driver iounmaps the hardware registers and kfree's the device data structure. Ouch ! This was introduced with commit e42311d75 (riowatchdog: Convert to pure OF driver) and went unnoticed for more than a year :) Return success instead of dropping into the error cleanup code path. Signed-off-by: Thomas Gleixner Signed-off-by: David S. Miller --- Reading git-diff-tree failed