diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-01 00:21:37 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-06-15 12:18:25 +0200 |
commit | 1909e2f658ee6ec5bcca62a5599f5653857cfe18 (patch) | |
tree | 23295fb6f05b1a0e6cddee529fd471d81b5f9d71 /scripts/makelst | |
parent | regulator: Set MODULE_ALIAS for regulator drivers (diff) | |
download | linux-1909e2f658ee6ec5bcca62a5599f5653857cfe18.tar.xz linux-1909e2f658ee6ec5bcca62a5599f5653857cfe18.zip |
regulator: 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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'scripts/makelst')
0 files changed, 0 insertions, 0 deletions