diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-06 08:40:30 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 20:05:37 +0200 |
commit | 1594908ac06509bf0768d78e66f4138617fd7314 (patch) | |
tree | f655a74c136f7697fc18c949ee497280465611a0 /mm | |
parent | mtd: cfi_cmdset_0002: print @adr when write timeout occurs (diff) | |
download | linux-1594908ac06509bf0768d78e66f4138617fd7314.tar.xz linux-1594908ac06509bf0768d78e66f4138617fd7314.zip |
mtd: sst25l: 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 'mm')
0 files changed, 0 insertions, 0 deletions