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