From: Ben Cahill Date: Fri, 9 Oct 2009 20:20:27 +0000 (-0700) Subject: iwl3945: move iwl_power_initialize() X-Git-Tag: v2.6.33-rc1~388^2~599^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008a9e3e3c37abd7f56d2478fe92d5874de3630a;p=pandora-kernel.git iwl3945: move iwl_power_initialize() iwl_power_initialize() initializes driver data (not device hardware), and does not need to execute more than once (when the driver initializes). Therefore, it does not belong in iwl3945_apm_init(), which initializes hardware, and may run more than once. Move it to iwl3945_pci_probe(), where it will run only once. This agrees with similar placement in iwl-agn.c's iwl_pci_probe(), although placement under "services" seemed more appropriate than under "mac80211". Signed-off-by: Ben Cahill Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed