Greg Kroah-Hartman
80f4c5e366
cw1200: no need to check return value of debugfs_create functions
...
When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.
Cc: Solomon Peachy <pizza@shaftnet.org >
Cc: Kalle Valo <kvalo@codeaurora.org >
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2019-02-01 14:34:56 +02:00
Yangtao Li
cc4dc97ffc
cw1200: convert to DEFINE_SHOW_ATTRIBUTE
...
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2018-12-20 08:46:32 +02:00
Joe Perches
2ef00c5304
wireless: Use octal not symbolic permissions
...
Prefer the direct use of octal for permissions.
Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace
and some typing.
Miscellanea:
o Whitespace neatening around these conversions.
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2018-03-27 11:01:13 +03:00
Kalle Valo
560424e9a9
cw1200: move under st vendor directory
...
Part of reorganising wireless drivers directory and Kconfig.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2015-11-18 14:28:30 +02:00