backlight: s6e63m0: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:35 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:23 +0000 (17:22 -0800)
commit7652c18d5c658a155ec2708c574096ad22d1e8d1
treefa0c341b72fe69f530fd1b67e8cc0bd9e511b43f
parent8ec47063cc9951f376da696782d826ee0c207052
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/s6e63m0.c