Revision 03717e3d12b625268848414e39beda25e4515692 authored by Thomas Gleixner on 14 October 2009, 08:18:26 UTC, committed by David S. Miller on 14 October 2009, 08:18:26 UTC
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 <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c58543c
History
File Mode Size
headers_install.txt -rw-r--r-- 2.2 KB

back to top