]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: wm831x: Use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Sat, 6 Apr 2013 06:42:48 +0000 (15:42 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 10:18:16 +0000 (12:18 +0200)
commit0c0d2ab069fa668daeda4204580e359dba178169
tree2ec2a3bdaf7d9780d1692d781c1e32856316feb2
parentb99877f3f7e1c8b7e6d133b56c8bcea4e2f7be80
mfd: wm831x: 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/wm831x-spi.c