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-19 22:00:37 +0400 |
| commit | 7690e63deae3b8d57ef201cae1ff590492cf84e5 (patch) | |
| tree | a4b57efea9b6c24f9791900c20fc28b0420c8d14 /scripts | |
| parent | 5355d8cac2a036471c1e739ee5aa1514973ed114 (diff) | |
| download | linux-7690e63deae3b8d57ef201cae1ff590492cf84e5.tar.xz | |
Staging: 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: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
