diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-08 03:52:16 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-04-08 04:02:29 (GMT) |
commit | 7a246777a694563c490811f9d398318652a3ffb4 (patch) | |
tree | e1553854a3b545dc9c343a719f21616f8e35abdc /drivers/input/misc/atlas_btns.c | |
parent | e1793c69c82626717257285f437b0da7ad0d2e99 (diff) | |
download | linux-7a246777a694563c490811f9d398318652a3ffb4.tar.xz |
Input: adxl34x - use spi_get_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>
Diffstat (limited to 'drivers/input/misc/atlas_btns.c')
0 files changed, 0 insertions, 0 deletions