]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: remove driver_data direct access of struct device
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Apr 2009 21:43:31 +0000 (14:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:37 +0000 (11:00 -0700)
commit7690e63deae3b8d57ef201cae1ff590492cf84e5
treea4b57efea9b6c24f9791900c20fc28b0420c8d14
parent5355d8cac2a036471c1e739ee5aa1514973ed114
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>
drivers/staging/altpciechdma/altpciechdma.c