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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user