brcmfmac: use debugfs_create_devm_seqfile() helper function
authorArend van Spriel <arend@broadcom.com>
Mon, 8 Jun 2015 12:38:35 +0000 (14:38 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2015 09:42:29 +0000 (12:42 +0300)
commit5b18ffb2d725571b4642f44249c55e4d1fcf60de
tree5ea7a93be2cbac1c7807f541d4fc744637560aeb
parentc161f29bd69fbc66374cf46fb51677bdc30e8c21
brcmfmac: use debugfs_create_devm_seqfile() helper function

Some time ago the function debugfs_create_devm_seqfile() was
introduced in debugfs. The caller simply needs to provide a
device pointer and read function. The function brcmf_debugfs_add_entry()
is now simply a wrapper only doing the work for CONFIG_BRCMDBG.

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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/debug.c