net: phy: hide the PHYLIB_LEDS knob
authorPaolo Abeni <pabeni@redhat.com>
Wed, 26 Apr 2023 08:15:31 +0000 (10:15 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 26 Apr 2023 09:54:50 +0000 (11:54 +0200)
commit9b78d919632b7149d311aaad5a977e4b48b10321
treec2deae33753e24ecc5dd4fac11fbe898c809412e
parentc248b27cfc0a8a5fee93e000d47e659bca335d0f
net: phy: hide the PHYLIB_LEDS knob

commit 4bb7aac70b5d ("net: phy: fix circular LEDS_CLASS dependencies")
solved a build failure, but introduces a new config knob with a default
'y' value: PHYLIB_LEDS.

The latter is against the current new config policy. The exception
was raised to allow the user to catch bad configurations without led
support.

Anyway the current definition of PHYLIB_LEDS does not fit the above
goal: if LEDS_CLASS is disabled, the new config will be available
only with PHYLIB disabled, too.

Hide the mentioned config, to preserve the randconfig testing done so
far, while respecting the mentioned policy.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/d82489be8ed911c383c3447e9abf469995ccf39a.1682496488.git.pabeni@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/Kconfig