From 4344429d3d926d219671f607125cff51223a140a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sun, 7 Apr 2013 15:44:59 -0300 Subject: video: mxsfb: Introduce regulator support Instead of using a custom binding for retrieving the GPIO that activates the LCD from devicetree, use a standard regulator. This approach has the advantage to be more generic. For example: in the case of a board that has a PMIC supplying the LCD voltage, the current approach would not work, as it only searches for a GPIO pin. Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- drivers/video/mxsfb.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'drivers/video/mxsfb.c') diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index eac7c1ace7a..1b2c26d1658 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -42,7 +42,6 @@ #include #include #include -#include #include