Uwe Kleine-König 1ec562035b imxfb: correct location of callbacks in suspend and resume
The probe function passes a pointer to a struct fb_info to
platform_set_drvdata(), so don't interpret the return value of
platform_get_drvdata() as a pointer to struct imxfb_info.

The original imxfb_info *fbi backlight_power was NULL but in imxfb_suspend
it was 4 resulting in an oops as imxfb_suspend calls
imxfb_disable_controller(fbi) which in turn has

	if (fbi->backlight_power)
			fbi->backlight_power(0);

Signed-off-by: Uwe Kleine-König  <u.kleine-koenig@pengutronix.de>
Acked-by: Sascha Hauer <kernel@pengutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-02 18:11:22 -08:00
..
2009-12-16 07:20:02 -08:00
2009-12-16 07:20:02 -08:00
2009-04-01 08:59:31 -07:00
2009-06-16 19:47:59 -07:00
2009-04-01 08:59:32 -07:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-06-16 19:47:58 -07:00
2009-12-16 07:20:04 -08:00
2009-05-06 16:36:10 -07:00
2009-12-07 18:36:35 +01:00
2009-12-15 08:53:25 -08:00
2009-01-06 15:59:27 -08:00
2009-01-06 15:59:27 -08:00
2009-03-17 09:30:36 +09:00
2009-12-04 15:39:52 +01:00
2009-04-01 08:59:31 -07:00
2009-04-01 08:59:31 -07:00
2008-10-16 11:21:42 -07:00