| commit | 40d88fc60d426b0e1306adf6ec0be9da164e5d2a | [log] [tgz] |
|---|---|---|
| author | Jingoo Han <jg1.han@samsung.com> | Mon Apr 29 16:17:57 2013 -0700 |
| committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 29 18:28:18 2013 -0700 |
| tree | bed89091b302756b67418ad2ee794f1c76a40c23 | |
| parent | 5a24b0102e5df13fccd8c0334d6c0f67967fec62 [diff] |
backlight: ili922x: use 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>