backlight: l4f00242t03: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <[email protected]>
Fri, 22 Feb 2013 00:43:32 +0000 (16:43 -0800)
committerLinus Torvalds <[email protected]>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commit6006607843bd2a6f16dabeb029ed5f409ef195f5
treea3e4fd2d489839d18aceddf37fe70df95b40b02a
parent1a5b1af43a793c31fe8fe71b14b2c46989007f0f
backlight: l4f00242t03: use spi_get_drvdata and spi_set_drvdata

Use the wrapper functions for getting and setting the driver data using
spi_device instead of using dev_{get|set}_drvdata with &spi->dev, so we
can directly pass a struct spi_device.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/l4f00242t03.c