diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-04-30 21:11:30 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-05-20 12:33:51 +0200 |
commit | 3497610a45d15bd33d1993ddd84951ad21b35ded (patch) | |
tree | 203e65e71e301fa4a50851fba5ebdb6e417457b4 /drivers/rtc/rtc-s5m.c | |
parent | rtc: Use IS_ENABLED() instead of checking for built-in or module (diff) | |
download | linux-3497610a45d15bd33d1993ddd84951ad21b35ded.tar.xz linux-3497610a45d15bd33d1993ddd84951ad21b35ded.zip |
rtc: stmp3xxx: print message on error
stmp3xxx_wdt_register() can fail as platform_device_alloc() or
platform_device_add() can fail. But when it fails it failed silently.
Lets print out an error message on failure so that user will atlest
know that there was some error.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-s5m.c')
0 files changed, 0 insertions, 0 deletions