]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: corgi_lcd: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:29 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:06 +0000 (16:47 +1100)
commit67bbae9e0c37d98cabd090c7a953d0c290f9cf5d
tree3d87c0c1ea4f21e91dafb5ab64df827e010f0855
parentb8e0037e22019170ee7096a4779aac63493cb079
backlight: corgi_lcd: 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 <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/corgi_lcd.c