]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mfd/ezx-pcap.c
mfd: ezx-pcap: Use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Sat, 6 Apr 2013 06:43:48 +0000 (15:43 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 10:18:16 +0000 (12:18 +0200)
commit7c478b405837e91f68208b423acd20dad184998c
tree4508b9510d8a43efa7749f2445b1da983b72f675
parent1b1ba09c39a7262f322290820ad8f29f964b9eee
mfd: ezx-pcap: 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: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ezx-pcap.c