rtc: ds1307: update reference to removed CONFIG_RTC_DRV_DS1307_HWMON
PATCH 1/1 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.
--- drivers/rtc/rtc-ds1307.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-ds1307.c +1 -1
@@ -1409,7 +1409,7 @@ static void ds1307_hwmon_register(struct ds1307 *ds1307) { } -#endif /* CONFIG_RTC_DRV_DS1307_HWMON */ +#endif /* IS_REACHABLE(CONFIG_HWMON) */ /*----------------------------------------------------------------------*/
Signature · 1 line
2.43.0
Quoted 9 lines · Ethan Nelson-Moore
The
CONFIG_RTC_DRV_DS1307_HWMONmacro was removed in favor ofCONFIG_HWMONin commit6b583a64fd1e("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
Kconfigfile.[...]
Applied, thanks!
[1/1] rtc: ds1307: update reference to removed CONFIG_RTC_DRV_DS1307_HWMON
https://git.kernel.org/abelloni/c/3c8f28578a0d
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com