projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d981f8
)
rtc: m41t80: make it a real error message
author
Stefan Christ
<s.christ@phytec.de>
Tue, 5 Jul 2016 11:53:16 +0000
(13:53 +0200)
committer
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Thu, 21 Jul 2016 18:06:47 +0000
(20:06 +0200)
It should be a real error message, when the driver cannot enable the IRQ
of the device.
Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-m41t80.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-m41t80.c
b/drivers/rtc/rtc-m41t80.c
index 61b911c1b596e9c55b11d542134fd1052eb2dde8..042d6a244aad2f2663ba523fd85a2a66cd69142f 100644
(file)
--- a/
drivers/rtc/rtc-m41t80.c
+++ b/
drivers/rtc/rtc-m41t80.c
@@
-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;