From: Jingoo Han Date: Sat, 6 Apr 2013 06:40:30 +0000 (+0900) Subject: mtd: sst25l: use spi_get_drvdata() and spi_set_drvdata() X-Git-Tag: v3.12-rc1~82^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1594908ac06509bf0768d78e66f4138617fd7314;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed