RE: [PATCH RESEND] mmc: mmc_spi: use spi_get_drvdata() and spi_set_drvdata()

2013-08-21 Thread Zhang, Sonic
Acked-by: Sonic Zhang sonic.zh...@analog.com -Original Message- From: Jingoo Han [mailto:jg1@samsung.com] Sent: Wednesday, August 21, 2013 1:56 PM To: 'Chris Ball' Cc: linux-mmc@vger.kernel.org; Zhang, Sonic; 'Jingoo Han' Subject: [PATCH RESEND] mmc: mmc_spi: use spi_get_drvdata

[PATCH RESEND] mmc: mmc_spi: use spi_get_drvdata() and spi_set_drvdata()

2013-08-20 Thread Jingoo Han
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. This is a cosmetic change in order to enhance the readability and make the code simpler. Signed-off-by: Jingoo Han