summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Nelson-Moore <enelsonmoore@gmail.com>2026-06-09 22:47:22 -0700
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-06-25 14:44:39 +0200
commit3c8f28578a0d68bc7fb91d881b832d55f734270c (patch)
treee54612a77f8a0ea7ed4974f89fe7590ad05762e4
parentf7ecfc3fe5753d10e9c4d0d7955c160ea8cbf0ea (diff)
downloadlinux-next-3c8f28578a0d68bc7fb91d881b832d55f734270c.tar.gz
linux-next-3c8f28578a0d68bc7fb91d881b832d55f734270c.zip
rtc: ds1307: update reference to removed CONFIG_RTC_DRV_DS1307_HWMON
The CONFIG_RTC_DRV_DS1307_HWMON macro was removed in favor of CONFIG_HWMON in commit 6b583a64fd1e ("rtc: ds1307: simplify hwmon config"), but a reference to it remained in a comment. Correct this reference. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Link: https://patch.msgid.link/20260610054723.261008-1-enelsonmoore@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-ds1307.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index a77580c4eea7..0707ded5368b 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -1415,7 +1415,7 @@ static void ds1307_hwmon_register(struct ds1307 *ds1307)
{
}
-#endif /* CONFIG_RTC_DRV_DS1307_HWMON */
+#endif /* IS_REACHABLE(CONFIG_HWMON) */
/*----------------------------------------------------------------------*/