iwlagn: sysfs couldn't find the priv pointer
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 13 Aug 2011 16:02:44 +0000 (09:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 13 Aug 2011 18:40:46 +0000 (14:40 -0400)
commit16a9d06c753abc44f66f88e03bbecb3f1e45d71b
tree2b7ef40488c9c5ca856907d7f5efff07e0b05a90
parent4eb60d869fdad7acd098b53bfd1863c311d8933d
iwlagn: sysfs couldn't find the priv pointer

This bug has been introduced by:
d593411084a56124aa9d80aafa15db8463b2d8f7
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Mon Jul 11 10:48:51 2011 +0300

    iwlagn: simplify the bus architecture

Revert part of the buggy patch: dev_get_drvdata will now return
iwl_priv as it did before the patch.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-pci.c