summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-05-21 22:43:04 +0200
committerLee Jones <lee.jones@linaro.org>2019-07-02 12:11:31 +0100
commit23e30b3c5f953e6650840c07cb8563909a72fc01 (patch)
treed6762efc0a223811de38893fa39c86d2ab5f555b /drivers/mfd
parente25547f899a531ecea1fcca975752872682ec564 (diff)
downloadlinux-23e30b3c5f953e6650840c07cb8563909a72fc01.tar.gz
linux-23e30b3c5f953e6650840c07cb8563909a72fc01.tar.bz2
linux-23e30b3c5f953e6650840c07cb8563909a72fc01.zip
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/menelaus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c
index d28ebe7ecd21..91c568ef5857 100644
--- a/drivers/mfd/menelaus.c
+++ b/drivers/mfd/menelaus.c
@@ -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;
}
}