backlight: ili922x: use spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:57 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:18 +0000 (18:28 -0700)
commit40d88fc60d426b0e1306adf6ec0be9da164e5d2a
treebed89091b302756b67418ad2ee794f1c76a40c23
parent5a24b0102e5df13fccd8c0334d6c0f67967fec62
backlight: ili922x: use 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/ili922x.c