]> git.karo-electronics.de Git - linux-beck.git/commit
Input: ads7846 - use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 8 Apr 2013 03:52:07 +0000 (20:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Apr 2013 04:02:21 +0000 (21:02 -0700)
commitc12454fad579f3eae7260ed5c4346eeea4044ccb
treecb31fa6a084636ecf1f824b3d8c08fbfb6fb3a01
parent3c2b901003b4c152e19e6578c1705ce2c90edd4a
Input: ads7846 - 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ads7846.c