]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ad7877 - use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 8 Apr 2013 03:52:12 +0000 (20:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Apr 2013 04:02:25 +0000 (21:02 -0700)
commit12fc36298052c8a3da8542e016737a5aa9f504e5
tree9cb8726ec1e50c70f802c6a5c16e7e8da4610e9d
parent5f8def093170c0268d4f0912c73f9179b081176a
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>
drivers/input/touchscreen/ad7877.c