]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
backlight: ili9320: use spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:56 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:18 +0000 (18:28 -0700)
commit5a24b0102e5df13fccd8c0334d6c0f67967fec62
treec3b5a641f80adb8365e03b638da067d729cb9b28
parent59eb2b5e57eaf0ae70b7d8d51b051cb754724a7a
backlight: ili9320: 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>
drivers/video/backlight/ili9320.c