]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sst25l: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Sat, 6 Apr 2013 06:40:30 +0000 (15:40 +0900)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 29 May 2013 06:56:58 +0000 (09:56 +0300)
commit8c687be9cfff0dafb9855f4a3b2b12d58647b958
tree61024c238bf34c8ceeaf5e89fc0f0b4ce142b87b
parent95d3c9d1e58d46487f2e3efaaf30228ee52e18a4
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>
drivers/mtd/devices/sst25l.c