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