Searched hist:"5 cacbfa9fe263b7f65a8efdf68bf14754c3d250a" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 5cacbfa9fe263b7f65a8efdf68bf14754c3d250a Sat Apr 06 06:41:03 UTC 2013 Jingoo Han <jg1.han@samsung.com> mtd: dataflash: 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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|