Skip to content
Commit 5bf61f91 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Tom Rini
Browse files

led-uclass: honour ->label field populated by driver's own .bind



If the driver's own .bind method has populated uc_plat->label, don't
override that. This is necessary for an upcoming driver for ti,lp5562,
where the DT binding unfortunately says to use "chan-name" and not
"label".

Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
parent ae7ec8b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment