From: Alberto Panizzo Date: Thu, 13 Jan 2011 00:59:23 +0000 (-0800) Subject: drivers/video/backlight/l4f00242t03.c: prevent unbalanced calls to regulator enable... X-Git-Tag: v2.6.38-rc1~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bbabc8e80b4b9e42aca13376a2c1609a880e21;p=pandora-kernel.git drivers/video/backlight/l4f00242t03.c: prevent unbalanced calls to regulator enable/disable Otherwise a double call to: $ echo 4 > /sys/class/lcd/l4f00242t03/lcd_power Will, the first power down the lcd and regulators correctly and the second produce an unbalanced call to regulator disable. Signed-off-by: Alberto Panizzo Cc: Richard Purdie Cc: Marek Vasut Cc: Tejun Heo Cc: Axel Lin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed