]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: tdo24m: 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:04 +0000 (16:47 +1100)
commit02d315324fe0b8df1790188eab952bbffa872908
treebf49e1d71a937e1fe593d0c30b593dea7b3294d0
parente519f9b5fec274c2274763f9ca92f592a5f72858
backlight: tdo24m: 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/tdo24m.c