]> 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)
commitf9e36ff056d22b6ddf0311749922cd07b8ec6358
treee957cb85ee3fd9c05c4e0648011a26a67771a635
parent342747b65f9d881cd365858c85f39d1947eb6131
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