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