Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Alexandre Belloni and committed by
Lee Jones
23e30b3c e25547f8

-2
-2
drivers/mfd/menelaus.c
··· 1138 1138 menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ); 1139 1139 device_init_wakeup(&m->client->dev, 0); 1140 1140 } 1141 - dev_err(&m->client->dev, "can't register RTC: %d\n", 1142 - (int) PTR_ERR(m->rtc)); 1143 1141 the_menelaus->rtc = NULL; 1144 1142 } 1145 1143 }