Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89487fe authored by Stefan Christ's avatar Stefan Christ Committed by Alexandre Belloni
Browse files

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: default avatarStefan Christ <s.christ@phytec.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 0d981f81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;