]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c2c8daaa95ed9f44beb634da4500a29e5e6510f
treeea2b5ac0353b5bbdab4c10402403a0da5a108bd4
parent03b870961fbf4e427b82c7032e7ae808e11a69d7
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