summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2014-07-12 08:49:36 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-07-15 22:00:11 +0200
commit82d957e09d4f0ff8091ca67e39b51ec6bdc672b1 (patch)
tree75ac4205f8f31b19de8abe4ae5d5d30ba9f3b99b /tools
parentbrcmfmac: make use of seq_file API for debugfs entries (diff)
downloadlinux-82d957e09d4f0ff8091ca67e39b51ec6bdc672b1.tar.xz
linux-82d957e09d4f0ff8091ca67e39b51ec6bdc672b1.zip
brcmfmac: rework debugfs functions in the driver
Reworked the debugfs functions in the driver making it easier for other driver parts to add a debugfs entry and keeping the information they want to expose in debugfs private, ie. not in a header. This is accomplished by providing the function brcmf_debugfs_add_entry() in which the caller provides a read function in which they provide the content. The debugfs function will take care of creating the debugfs entry and cleaning up upon removal. Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions