[PATCH 3/6] led: introduce led_bind_generic()

Marek Vasut marex at denx.de
Thu Oct 19 15:56:30 CEST 2023


On 10/19/23 11:58, Rasmus Villemoes wrote:
> All existing drivers in drivers/led/ contain a .bind method that does
> exactly the same thing, with just the actual driver name
> differing. Create a helper so all those individual methods can be
> changed to one-liners.
> 
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list