summaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-04-22 15:41:42 +0200
committerTom Rini <trini@konsulko.com>2022-04-28 09:26:44 -0400
commit69245e406e919012d45d40f045f9b7369086ce17 (patch)
tree619309725c1c57e41de72d7aa320887e638a4a1d /drivers/led
parent01074697801bc0709ac2ca915250096311ec1b7e (diff)
downloadu-boot-socfpga-69245e406e919012d45d40f045f9b7369086ce17.tar.gz
led: Drop led_default_state()
This function is empty, drop it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: Sean Anderson <seanga2@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Steven Lawrance <steven.lawrance@softathome.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/led')
-rw-r--r--drivers/led/led-uclass.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/led/led-uclass.c b/drivers/led/led-uclass.c
index 2ce72933b6..68ca3c2970 100644
--- a/drivers/led/led-uclass.c
+++ b/drivers/led/led-uclass.c
@@ -66,12 +66,6 @@ int led_set_period(struct udevice *dev, int period_ms)
}
#endif
-/* This is superseded by led_post_bind()/led_post_probe() below. */
-int led_default_state(void)
-{
- return 0;
-}
-
static int led_post_bind(struct udevice *dev)
{
struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev);