commit | 8ec47063cc9951f376da696782d826ee0c207052 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Feb 21 16:43:33 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:23 2013 -0800 |
tree | f30844b310ab9ee547e589a98cb73af4e4ceb11c | |
parent | 6006607843bd2a6f16dabeb029ed5f409ef195f5 [diff] |
backlight: ld9040: 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>