]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5c8d6b457dbc5e1e1a4d2d06b02abdbe0e54169
treed8f172ce790fbc0316b66b3a47206b43c4f88dec
parentd8cd9f781aec86aee7021d8d03475721bbb7bd7d
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