]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: fix coccinelle warnings
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 11 Oct 2013 15:30:26 +0000 (23:30 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Oct 2013 17:39:58 +0000 (13:39 -0400)
commit2167da8134d8afd3a976b4bbe1dc62a37c611de9
treee957cb85ee3fd9c05c4e0648011a26a67771a635
parent14bcc7c0359768185e558e277be77a6e7cc0c91b
wcn36xx: fix coccinelle warnings

drivers/net/wireless/ath/wcn36xx/debug.c:27:11-31: WARNING opportunity for simple_open, see also structure on line 106
/c/kernel-tests/src/i386/drivers/net/wireless/ath/wcn36xx/debug.c:27:11-31: WARNING opportunity for simple_open, see also structure on line 148

 This removes an open coded simple_open() function
 and replaces file operations references to the function
 with simple_open() instead.

Generated by: coccinelle/api/simple_open.cocci

CC: Eugene Krasnikov <k.eugene.e@gmail.com>
CC: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wcn36xx/debug.c