commit | 9319dfa1e08700d269a97ac117ac576f875eecfb | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Feb 21 16:43:42 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:23 2013 -0800 |
tree | 9990f1692e9065131a9514c82406d3bd17e29b6e | |
parent | c324f51a2e44ecd28fab19a7941ee3e4173cf641 [diff] |
backlight: corgi_lcd: 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>