summaryrefslogtreecommitdiff
path: root/include/linux/mfd/mt6397
diff options
context:
space:
mode:
authorFei Shao <fshao@chromium.org>2020-10-08 12:34:14 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-10-15 13:01:29 +0300
commit770c03e6dabacd5b9f57bba93c4311d32b618640 (patch)
treed8f172ce790fbc0316b66b3a47206b43c4f88dec /include/linux/mfd/mt6397
parent179b4bcc4c0cf62e3737c718e05f5a69b3e9041c (diff)
downloadlinux-770c03e6dabacd5b9f57bba93c4311d32b618640.tar.xz
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
Diffstat (limited to 'include/linux/mfd/mt6397')
-rw-r--r--include/linux/mfd/mt6397/rtc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/mt6397/rtc.h b/include/linux/mfd/mt6397/rtc.h
index 66989a16221a..c3748b53bf7d 100644
--- a/include/linux/mfd/mt6397/rtc.h
+++ b/include/linux/mfd/mt6397/rtc.h
@@ -72,7 +72,6 @@ struct mtk_rtc_data {
};
struct mt6397_rtc {
- struct device *dev;
struct rtc_device *rtc_dev;
/* Protect register access from multiple tasks */