commit | a720c3053322231d6fc6c5e7459ea1ea068904c4 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Sat Apr 06 15:44:14 2013 +0900 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Apr 09 12:18:16 2013 +0200 |
tree | f591bdcac9ba00dd7917d828cb579e6e3160115e | |
parent | 7c478b405837e91f68208b423acd20dad184998c [diff] |
mfd: mc13xxx: 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>