mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
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>
This commit is contained in:
parent
e25547f899
commit
23e30b3c5f
1 changed files with 0 additions and 2 deletions
|
@ -1138,8 +1138,6 @@ static inline void menelaus_rtc_init(struct menelaus_chip *m)
|
||||||
menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ);
|
menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ);
|
||||||
device_init_wakeup(&m->client->dev, 0);
|
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;
|
the_menelaus->rtc = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue