mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
rtc: m41t80: make it a real error message
It should be a real error message, when the driver cannot enable the IRQ of the device. Signed-off-by: Stefan Christ <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
0d981f81e0
commit
e89487fef5
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ static int m41t80_alarm_irq_enable(struct device *dev, unsigned int enabled)
|
|||
|
||||
retval = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, flags);
|
||||
if (retval < 0) {
|
||||
dev_info(dev, "Unable to enable alarm IRQ %d\n", retval);
|
||||
dev_err(dev, "Unable to enable alarm IRQ %d\n", retval);
|
||||
return retval;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue