]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mfd/arizona-spi.c
mfd: arizona: Use spi_get_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Sat, 6 Apr 2013 06:44:30 +0000 (15:44 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 10:18:16 +0000 (12:18 +0200)
commite9642d5e162c2a219f770cf4a52b4c6b622879bb
treed9d3b72ef5c553da76ed53cbd2b67fccaec57b08
parenta720c3053322231d6fc6c5e7459ea1ea068904c4
mfd: arizona: Use spi_get_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/arizona-spi.c