block/ps3: remove driver_data direct access of struct device
commit5888fd30ac70fa50f08979c46f9206d01ca6ad49
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 5 May 2009 08:41:19 +0000 (5 10:41 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:28 +0000 (15 21:30 -0700)
tree12319e3dc293a668972da4573ef2f9ab960f10c2
parentdff59b64af94dc588044d70f3708cb835055c5b6
block/ps3: 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: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/ps3disk.c
drivers/block/ps3vram.c