diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-03-17 06:08:08 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-03-17 07:27:57 +0100 |
commit | 6b007d62fabb279b51c784c7c8abc6848b66a917 (patch) | |
tree | b6d5e09b7cd5f858da0bb6f0163532308e85fe55 /drivers/rtc | |
parent | Input: introduce tsc2005 driver (diff) | |
download | linux-6b007d62fabb279b51c784c7c8abc6848b66a917.tar.xz linux-6b007d62fabb279b51c784c7c8abc6848b66a917.zip |
Input: tsc2005 - use spi_get/set_drvdata()
Instead of peeking into underlying device and using dev_get/set_drvdata(),
let's use SPI layer's implementation to access driver-private data
(which may be different from driver-core private data).
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions