summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8400-core.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-04-30 23:43:31 +0200
committerGreg Kroah-Hartman2009-06-16 06:30:27 +0200
commit79510cdbc76265426c6d75326436624393694ea7 (patch)
treea36e5adf746e0c8fb967ac21e7c33b77a178919e /drivers/mfd/wm8400-core.c
parentinput: remove driver_data direct access of struct device (diff)
downloadkernel-qcow2-linux-79510cdbc76265426c6d75326436624393694ea7.tar.gz
kernel-qcow2-linux-79510cdbc76265426c6d75326436624393694ea7.tar.xz
kernel-qcow2-linux-79510cdbc76265426c6d75326436624393694ea7.zip
media: 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: Mauro Carvalho Chehab <mchehab@infradead.org> Acked-by: Mike Isely <isely@pobox.com> Cc: linux-media@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd/wm8400-core.c')
0 files changed, 0 insertions, 0 deletions