Searched hist:"3497610 a45d15bd33d1993ddd84951ad21b35ded" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-stmp3xxx.c | diff 3497610a45d15bd33d1993ddd84951ad21b35ded Sat Apr 30 14:11:30 CDT 2016 Sudip Mukherjee <sudipm.mukherjee@gmail.com> 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>
|