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