Home
last modified time | relevance | path

Searched hist:"1902 a9e62ba34a1071407ab61cef626e019a0923" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Dwm8400-core.cdiff 1902a9e62ba34a1071407ab61cef626e019a0923 Thu Apr 30 23:43:31 CEST 2009 Greg Kroah-Hartman <gregkh@suse.de> 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>
H A Dpcf50633-core.cdiff 1902a9e62ba34a1071407ab61cef626e019a0923 Thu Apr 30 23:43:31 CEST 2009 Greg Kroah-Hartman <gregkh@suse.de> 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>