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

Commit 23e30b3c authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Lee Jones
Browse files

mfd: menelaus: Remove superfluous error message



The RTC core already has error messages in case of failure, there is no
need to have another message in the driver.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent e25547f8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1138,8 +1138,6 @@ static inline void menelaus_rtc_init(struct menelaus_chip *m)
			menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ);
			device_init_wakeup(&m->client->dev, 0);
		}
		dev_err(&m->client->dev, "can't register RTC: %d\n",
				(int) PTR_ERR(m->rtc));
		the_menelaus->rtc = NULL;
	}
}