diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-12-17 16:02:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:21 -0800 |
commit | 9ed39bf931cbd95b30755dcb1ad724fe05565c3f (patch) | |
tree | fff3e08eecd61f1494258a5a57a5a9106dd9535b /drivers/hid/hid-lg2ff.c | |
parent | 32c4746c24728a047a1ef985215edec798bfce1f (diff) | |
download | op-kernel-dev-9ed39bf931cbd95b30755dcb1ad724fe05565c3f.zip op-kernel-dev-9ed39bf931cbd95b30755dcb1ad724fe05565c3f.tar.gz |
rtc: rtc-davinci: return correct error code if rtc_device_register() fails
rtc_device_register() returns a pointer containing error code in case
of error. Use that in the error return.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Miguel Aguilar <miguel.aguilar@ridgerun.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hid/hid-lg2ff.c')
0 files changed, 0 insertions, 0 deletions