diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-04-17 17:17:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-19 12:59:15 +0100 |
commit | e5029edd53937a29801ef507cee12e657ff31ea9 (patch) | |
tree | 7e85e1ec8d61e351a8429c5404c9513890645004 /kernel/power/process.c | |
parent | 91acadcc6e599dfc62717abcdad58a459cfb1684 (diff) |
leds: Provide stubs for when CLASS_LED & NEW_LEDS are disabled
Provide stubs for devm_led_classdev_register_ext() and
led_init_default_state_get() so that LED drivers embedded within other
drivers such as PHYs and Ethernet switches still build when LEDS_CLASS
or NEW_LEDS are disabled. This also helps with Kconfig dependencies,
which are somewhat hairy for phylib and mdio and only get worse when
adding a dependency on LED_CLASS.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/power/process.c')
0 files changed, 0 insertions, 0 deletions