aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/parport_gsc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-05-04 12:40:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:30:28 -0700
commitd18dbfa7aaa8d50c2c1c66359f0ab6b085dfa03f (patch)
treeef464da590822f8dcf9aa673b4c3a02a88ff1a1b /drivers/parport/parport_gsc.c
parentof_serial: remove driver_data direct access of struct device (diff)
downloadlinux-dev-d18dbfa7aaa8d50c2c1c66359f0ab6b085dfa03f.tar.xz
linux-dev-d18dbfa7aaa8d50c2c1c66359f0ab6b085dfa03f.zip
parisc: 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: linux-parisc@vger.kernel.org Cc: Helge Deller <deller@gmx.de> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/parport/parport_gsc.c')
0 files changed, 0 insertions, 0 deletions