leds: just ignore invalid GPIOs in leds-gpio
authorDavid Brownell <david-b@pacbell.net>
Wed, 8 Apr 2009 00:51:49 +0000 (17:51 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 8 Apr 2009 13:13:48 +0000 (14:13 +0100)
commitac15e95090c2588ada4904c8c4ae8edd347acdf0
tree1f39f501f87cc4719e934c22ae2b485b9d3a1622
parent577c9c456f0e1371cbade38eaf91ae8e8a308555
leds: just ignore invalid GPIOs in leds-gpio

Fix build problems with leds-gpio:

  CC      drivers/leds/leds-gpio.o
drivers/leds/leds-gpio.c: In function 'create_gpio_led':
drivers/leds/leds-gpio.c:85: warning: 'return' with no value, in function returning non-void

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-gpio.c