commit | c12454fad579f3eae7260ed5c4346eeea4044ccb | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Sun Apr 07 20:52:07 2013 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sun Apr 07 21:02:21 2013 -0700 |
tree | cb31fa6a084636ecf1f824b3d8c08fbfb6fb3a01 | |
parent | 3c2b901003b4c152e19e6578c1705ce2c90edd4a [diff] |
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>