]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: max31335: use correct CONFIG symbol in IS_REACHABLE()
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 8 Jan 2026 04:54:32 +0000 (20:54 -0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Jan 2026 23:12:32 +0000 (00:12 +0100)
commitd5aca9a17f6de884febc56018f92d743b8ea1298
tree0c4bcd81e2d64c66b56523f56c78db8cab821431
parentf9ecfd9bfedba9fd9d4b015b33b847571f7fdd42
rtc: max31335: use correct CONFIG symbol in IS_REACHABLE()

IS_REACHABLE() is meant to be used with full symbol names from a kernel
.config file, not the shortened symbols used in Kconfig files, so
change HWMON to CONFIG_HWMON in 3 places.

Fixes: dedaf03b99d6 ("rtc: max31335: add driver support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20260108045432.2705691-1-rdunlap@infradead.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-max31335.c