commit | 1b8d2834a663a3beedb04374293b637166ce8e4f | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Feb 21 16:43:40 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:23 2013 -0800 |
tree | 6eb803ba842dd828642be1f4f31e9f234c549c7e | |
parent | c7855f15e2bed7a35edecc3ebcaa445ea8a57848 [diff] |
backlight: vgg2432a4: 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>