diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-01 01:43:31 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 08:30:27 +0400 |
commit | 017596b61f324946299fa94d9ef6f08b7478a3d8 (patch) | |
tree | 00df4c9a407acefe491a0db9e72f604570992f2a /drivers/mfd/htc-pasic3.c | |
parent | 3f7c58a05fe4aa71983ea27959b7ad840950537e (diff) | |
download | linux-017596b61f324946299fa94d9ef6f08b7478a3d8.tar.xz |
input: remove driver_data direct access of struct device
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device. Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used. These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd/htc-pasic3.c')
0 files changed, 0 insertions, 0 deletions