diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-04 21:40:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 06:30:27 +0200 |
commit | 9de33df41f712712ccd3297c898e365b50fb91ef (patch) | |
tree | 5e739060a56c6487fef57c29dac3c9245600bbfb /drivers/char/riscom8_reg.h | |
parent | infiniband: ehca: remove driver_data direct access of struct device (diff) | |
download | linux-9de33df41f712712ccd3297c898e365b50fb91ef.tar.xz linux-9de33df41f712712ccd3297c898e365b50fb91ef.zip |
ipmi: 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: openipmi-developer@lists.sourceforge.net
Acked-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/riscom8_reg.h')
0 files changed, 0 insertions, 0 deletions