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