commit | 1b1ba09c39a7262f322290820ad8f29f964b9eee | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Sat Apr 06 15:43:23 2013 +0900 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Apr 09 12:18:16 2013 +0200 |
tree | f1cee37e810ff34cab1d59772fbd7e58d34c86c0 | |
parent | 0c0d2ab069fa668daeda4204580e359dba178169 [diff] |
mfd: da9052: 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>