iwlagn: sysfs couldn't find the priv pointer
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Aug 2011 19:46:57 +0000 (12:46 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Aug 2011 17:46:43 +0000 (13:46 -0400)
commitcc1a93e68f6c0d736b771f0746e8e4186f483fdc
treea79e6a9e7cc0b5d7fae33cc1bd02dca0e95f850d
parentb52398b6e4522176dd125722c72c301015d24520
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>
Tested-by: Daniel Halperin <dhalperi@cs.washington.edu>
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