]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: l4f00242t03: 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:11 +0000 (16:53 +1100)
commit3cdd7cb7406c607f40b077c894681449e4bc89be
tree77e4446749d06a035863f900ec9cae3fa59e2b6b
parent02877a2aec0fd0b5ebdcac4ccb72e6624d906e6d
backlight: l4f00242t03: 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/l4f00242t03.c