Wireless: remove driver_data direct access of struct device
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 May 2009 06:02:47 +0000 (23:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:01 +0000 (15:15 -0400)
commit928841b1538df117658ec5977bcf336c27f7747b
treeea2b5ac0353b5bbdab4c10402403a0da5a108bd4
parent8bce6121706dd82c266c3f527e592abfb3e164d1
Wireless: 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: John W. Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/atmel_cs.c
drivers/net/wireless/ipw2x00/ipw2100.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c