]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: lms283gf05: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:28 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:05 +0000 (16:47 +1100)
commita94b7638591dc20da9777919e8502bf14fc54aac
treef22c695b6aad04ed0dea59caba708235823e751f
parent02d315324fe0b8df1790188eab952bbffa872908
backlight: lms283gf05: 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/lms283gf05.c