commit | 1594908ac06509bf0768d78e66f4138617fd7314 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Sat Apr 06 15:40:30 2013 +0900 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Aug 05 19:05:37 2013 +0100 |
tree | f655a74c136f7697fc18c949ee497280465611a0 | |
parent | 25983b183235ab84d8c5550eae75d0d5006828d0 [diff] |
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>