summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-04-30 23:43:31 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 06:30:27 +0200
commit1902a9e62ba34a1071407ab61cef626e019a0923 (patch)
tree082b821299d7a543b8827f571f809e535d3663ed /drivers/pci
parentmedia: remove driver_data direct access of struct device (diff)
downloadlinux-1902a9e62ba34a1071407ab61cef626e019a0923.tar.xz
linux-1902a9e62ba34a1071407ab61cef626e019a0923.zip
mfd: 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: Samuel Ortiz <sameo@linux.intel.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions