diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-30 15:21:37 -0700 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-06-15 11:18:25 +0100 |
commit | 1909e2f658ee6ec5bcca62a5599f5653857cfe18 (patch) | |
tree | 23295fb6f05b1a0e6cddee529fd471d81b5f9d71 /include | |
parent | 38c53c89139e6140b895b419b18c586e8593a6e8 (diff) | |
download | linux-1909e2f658ee6ec5bcca62a5599f5653857cfe18.tar.bz2 |
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 'include')
0 files changed, 0 insertions, 0 deletions