mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds: leds: just ignore invalid GPIOs in leds-gpio
This commit is contained in:
commit
29a1e26feb
@ -82,7 +82,7 @@ static int __devinit create_gpio_led(const struct gpio_led *template,
|
||||
if (!gpio_is_valid(template->gpio)) {
|
||||
printk(KERN_INFO "Skipping unavilable LED gpio %d (%s)\n",
|
||||
template->gpio, template->name);
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = gpio_request(template->gpio, template->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user