]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1307: simplify hwmon config
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 27 Sep 2017 20:41:26 +0000 (22:41 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 16 Aug 2018 05:46:41 +0000 (07:46 +0200)
commit453f6bff144db55db9faaed5ca5691bffc439e16
treeaefcf8e4d237b153f6bb1594dcf5773fc354be49
parent7eeabc05b5c3f963499238292ff7bede5216a082
rtc: ds1307: simplify hwmon config

We don't have to define an extra config symbol, IS_REACHABLE does
what we need. And having this config symbol just to save the few
bytes of hwmon support on non-DS3231 chips isn't worth it IMO
(especially as the symbol is set per default).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1307.c