ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
authorArend van Spriel <arend@broadcom.com>
Sat, 27 Dec 2014 13:13:00 +0000 (14:13 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 15 Jan 2015 12:38:46 +0000 (14:38 +0200)
commit4447d815fd0f89d64b78011e82c18c7e83f7f29e
tree1109e325d849f9b3785086c4965126d1008214e1
parentbd33273b652c85fd6c9e251cebd4362c72718639
ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries

Use the helper to get rid of the file operations per debugfs file. The
device driver data contains struct ieee80211_hw pointer and the
struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can
be accessed in the seq_file read operation.

Cc: ath9k-devel@lists.ath9k.org
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/debug.c