]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: vgg2432a4: 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)
commit67afd6dea8e2243b0dca82a51f0609129fbb2021
tree93092a3557d68e9d59629e4bc4cf2f14ba2a269e
parentca3156b642c0a979f9cb2b6c24db825e1b3a6554
backlight: vgg2432a4: 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/vgg2432a4.c