From: Davidlohr Bueso Date: Thu, 11 Nov 2010 22:05:24 +0000 (-0800) Subject: drivers/leds/leds-gpio.c: properly initialize return value X-Git-Tag: v2.6.37-rc2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25672b9dde18b86e736b8138bcffbaf7158d160a;p=pandora-kernel.git drivers/leds/leds-gpio.c: properly initialize return value In the event that none of the configs are set (CONFIG_LEDS_GPIO_PLATFORM, CONFIG_LEDS_GPIO_OF, CONFIG_LEDS_GPIO_PLATFORM), we will return a bogus value when initializing the module. Signed-off-by: Davidlohr Bueso Acked-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed