commit | b936fab023210398aa5846feb5af25f3cd33a52f | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Feb 21 16:43:38 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:23 2013 -0800 |
tree | 472c213413d4f14aabda5b686a49311c3260404a | |
parent | 719d5b2bbbd980d06b8bd962cc2b9f0789b77670 [diff] |
backlight: lms283gf05: 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>