diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-06 02:41:03 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 14:05:42 -0400 |
commit | 5cacbfa9fe263b7f65a8efdf68bf14754c3d250a (patch) | |
tree | 483205e57a883cc0e3ea05e03bda2a36da492a61 /drivers/iio/light | |
parent | 1594908ac06509bf0768d78e66f4138617fd7314 (diff) |
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>
Diffstat (limited to 'drivers/iio/light')
0 files changed, 0 insertions, 0 deletions