V4L/DVB (11739): remove driver_data direct access of struct device
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Apr 2009 22:18:08 +0000 (19:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:58 +0000 (18:20 -0300)
commitca19d84295c2579229c5478db8b0f9cd7e821685
treee3d8aa2a712da2fd0805e907395ea2f4ca7dc26b
parent413ef8a20ae4c12f2462385ac2eebf51a6feabea
V4L/DVB (11739): 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.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/firewire/firedtv-1394.c
drivers/media/dvb/firewire/firedtv-dvb.c
drivers/media/video/pvrusb2/pvrusb2-sysfs.c