OSDN Git Service

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)
commit6b583a64fd1e019fd01626b46892ebf2361951c5
treeaefcf8e4d237b153f6bb1594dcf5773fc354be49
parent26dcc12c009e3222f8b975f23c605516a5d3b29f
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