rtc: mt6397: Remove unused member dev
authorFei Shao <fshao@chromium.org>
Thu, 8 Oct 2020 09:34:14 +0000 (17:34 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 Oct 2020 10:01:29 +0000 (12:01 +0200)
commit770c03e6dabacd5b9f57bba93c4311d32b618640
treed8f172ce790fbc0316b66b3a47206b43c4f88dec
parent179b4bcc4c0cf62e3737c718e05f5a69b3e9041c
rtc: mt6397: Remove unused member dev

Removing the struct member "dev" in mt6397 RTC driver because it's not
initialized and the only usage is for one debugging message.

Also fixed a typo in the error message.

Signed-off-by: Fei Shao <fshao@chromium.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201008093414.1911699-1-fshao@chromium.org
drivers/rtc/rtc-mt6397.c
include/linux/mfd/mt6397/rtc.h