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