Re: [RFC PATCH] hwmon: remove tautological dependency expressions from Kconfig
[email protected] Wed, 29 Jul 2026 21:59:45 +0000
| Newsgroups | org.kernel.vger.linux-hwmon |
|---|---|
| Message-ID | <[email protected]> |
> Commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's
> option") [1] obviated some of the "Optional dependencies" (as described in
> "Documentation/kbuild/kconfig-language.rst") in "drivers/hwmon/Kconfig".
>
> Namely, said commit restricted the valid/possible subset of the full
> Cartesian product "CONFIG_THERMAL x CONFIG_THERMAL_OF" to
>
> { (n, n), (y, n), (y, y) }
>
> through "drivers/thermal/Kconfig". Numerically (using tristate values),
> this set can be expressed as:
>
> { (0, 0), (2, 0), (2, 2) }
>
> Over this set, the "drivers/hwmon/Kconfig" tristate expression
> [ ... ]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Laszlo Ersek <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1