commit | 7690e63deae3b8d57ef201cae1ff590492cf84e5 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Thu Apr 30 14:43:31 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 19 11:00:37 2009 -0700 |
tree | a4b57efea9b6c24f9791900c20fc28b0420c8d14 | |
parent | 5355d8cac2a036471c1e739ee5aa1514973ed114 [diff] |
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>