android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Julia Lawall 4eaf16bc1f drivers/net: use dev_get_drvdata
Eliminate direct accesses to the driver_data field.
cf 82ab13b26f15f49be45f15ccc96bfa0b81dfd015

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
struct device *dev;
expression E;
type T;
@@

- dev->driver_data = (T)E
+ dev_set_drvdata(dev, E)

@@
struct device *dev;
type T;
@@

- (T)dev->driver_data
+ dev_get_drvdata(dev)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-20 14:46:27 -04:00
..
iwl3945-base.c iwlwifi: drop struct iwl3945_hw_key 2009-05-20 14:46:26 -04:00
iwl-1000.c
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c iwlwifi: Fix handling of retry count of NO_ACK frames in iwl-{3945|agn}-rs 2009-05-06 15:14:51 -04:00
iwl-3945.c iwl3945: read rev id in nic config 2009-05-11 15:24:01 -04:00
iwl-3945.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-04-25 16:36:46 -07:00
iwl-4965-hw.h
iwl-4965.c
iwl-5000-hw.h
iwl-5000.c
iwl-6000-hw.h
iwl-6000.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-18 21:08:20 -07:00
iwl-agn-rs.c iwlagn: show current rate scale data in debugfs 2009-05-11 15:24:03 -04:00
iwl-agn-rs.h iwlagn: improve rate scale table search 2009-05-11 15:24:01 -04:00
iwl-agn.c drivers/net: use dev_get_drvdata 2009-05-20 14:46:27 -04:00
iwl-calib.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-calib.h
iwl-commands.h
iwl-core.c wireless: rename IEEE80211_CHAN_NO_FAT_* to HT40-/+ 2009-05-20 14:46:22 -04:00
iwl-core.h iwlwifi: make iwl_set_rate static 2009-05-11 15:23:55 -04:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlwifi: drop iwl3945_tid_data 2009-05-20 14:46:26 -04:00
iwl-eeprom.c wireless: rename IEEE80211_CHAN_NO_FAT_* to HT40-/+ 2009-05-20 14:46:22 -04:00
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-power.h iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c
iwl-scan.c iwlwifi: use #define instead of hard coded value 2009-05-11 15:24:02 -04:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-05-08 12:46:17 -07:00
iwl-sta.h
iwl-tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-04-25 16:36:46 -07:00
Kconfig
Makefile