summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ahb.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-06 18:37:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-06 18:37:11 +0300
commitf1c488a78d9f1a22cdb15648c15e70fd82ed229a (patch)
tree6d83a51a52cf012a77c3f7b82b020a2374beb917 /drivers/net/wireless/ath/ath9k/ahb.c
parentf30d0a815bb9b8ac1a3ab4d0c333d2379220d91d (diff)
downloadlinux-f1c488a78d9f1a22cdb15648c15e70fd82ed229a.tar.xz
Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries"
This reverts commit d32394fae95741d733b174ec1446f27765f80233. It has been reported to cause problems, Jeremiah writes: On an Acer C720 laptop if a suspend is performed the screen freezes, the machine locks up, and according to the indicator lights it does not enter suspend. A hard reset is required to get it running again. Reported-by: Jeremiah Mahler <jmmahler@gmail.com> Cc: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ahb.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ahb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c
index 750a13045458..e000c4c27881 100644
--- a/drivers/net/wireless/ath/ath9k/ahb.c
+++ b/drivers/net/wireless/ath/ath9k/ahb.c
@@ -126,7 +126,6 @@ static int ath_ahb_probe(struct platform_device *pdev)
sc = hw->priv;
sc->hw = hw;
sc->dev = &pdev->dev;
- dev_set_drvdata(sc->dev, sc);
sc->mem = mem;
sc->irq = irq;