led: pca955x: remove ineffectual assignment
the .num member of struct led is a 'private' member populated by
led_register. Populating it has no effect because it's always
overwritten. Remove the assignment.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b0c97bc commit 8cd3e5007c88317735332c1a78251bf7c22d4888
@Ahmad Fatoum Ahmad Fatoum authored on 12 Dec 2019
Sascha Hauer committed on 13 Dec 2019
Showing 1 changed file
View
drivers/led/led-pca955x.c