From: Shreshtha Kumar Sahu Date: Wed, 25 May 2011 00:13:28 +0000 (-0700) Subject: drivers/leds/leds-lm3530.c: add regulator X-Git-Tag: v3.0-rc1~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b2da53f7627304cd4030cb4883908bfb1bce998;p=pandora-kernel.git drivers/leds/leds-lm3530.c: add regulator Add add regulator support to lm3530 driver. The lm3530 driver needs to get proper regulator during device probe and enable it before accessing the device. Also it disables the regulator in case of brightness == LED_OFF, and puts it back during driver removal. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Shreshtha Kumar Sahu Cc: Lee Jones Cc: Shreshtha Kumar Sahu Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed