ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
authorArend van Spriel <arend@broadcom.com>
Sun, 9 Nov 2014 10:32:00 +0000 (11:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 03:38:37 +0000 (19:38 -0800)
commitd32394fae95741d733b174ec1446f27765f80233
treeaa7c7e723323e3c13acf6922a08879501b4374d5
parent631bee257bd506ad6622aac16dfeedce09034ade
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
struct ath9k_softc pointer is set as device driver data to be obtained
in the seq_file read operation.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ahb.c
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/pci.c