diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-10-14 01:18:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-14 01:18:26 -0700 |
commit | 03717e3d12b625268848414e39beda25e4515692 (patch) | |
tree | 8f5b80f26b8c473675aab6dcd63f5a0cfb518794 /kernel | |
parent | c58543c869606532c2382f027d6466f4672ea756 (diff) | |
download | kernel_samsung_smdk4412-03717e3d12b625268848414e39beda25e4515692.zip kernel_samsung_smdk4412-03717e3d12b625268848414e39beda25e4515692.tar.gz kernel_samsung_smdk4412-03717e3d12b625268848414e39beda25e4515692.tar.bz2 |
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 <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions