OSDN Git Service

ath: use seq_file api for ath9k debugfs files
authorArend van Spriel <arend@broadcom.com>
Sun, 9 Nov 2014 10:31:59 +0000 (11:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 03:38:37 +0000 (19:38 -0800)
commit631bee257bd506ad6622aac16dfeedce09034ade
treef07e1e5d8ad24d9102134f089aefd8cb04b97e4a
parent98210b7f73f1db182bd9a558a031093cd166e907
ath: use seq_file api for ath9k debugfs files

The debugfs files that are defined in debug.c which are read-only
and using a simple_open as .open file operation have been modified
to use the single_open seq_file API. This simplifies the read
functions defining the file contents.

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