leds: netxbig: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Apr 2020 14:51:39 +0000 (16:51 +0200)
committerPavel Machek <pavel@ucw.cz>
Mon, 27 Apr 2020 12:11:20 +0000 (14:11 +0200)
commit9af512e81964a1b9a6ac7ae9b24507f99e557c36
tree233344c0a3e5dc46f72ed5e5f8ca1b4e5406a376
parentcef8ec8cbd21ac3dbb4e22adc752c8c183efa4a8
leds: netxbig: Convert to use GPIO descriptors

This converts the NetXbig LED driver to use GPIO descriptors
instead of using the legacy interfaces in <linux/of_gpio.h>
and <linux/gpio.h> to iteratively parse the device tree for
global GPIO numbers.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Tested-by: Simon Guinot <simon.guinot@sequanux.org>
drivers/leds/leds-netxbig.c