]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ltv350qv: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:22 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:12 +0000 (16:53 +1100)
commitf6f233dd9df4f7cc0d6945f866422806266dba9f
tree293af3b5c6a18f272701f780c61e98c3cfff2de9
parente1dc3e4685b8e2e414ab8833bac2d019ce6e2443
backlight: ltv350qv: 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/ltv350qv.c