]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: refactor debugfs function generation code
authorEliad Peller <eliad@wizery.com>
Wed, 27 Oct 2010 12:58:30 +0000 (14:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:23 +0000 (13:25 -0500)
commit93a24a9a38d1290293ea484b1b31fdd9455dfbb5
treecb6cebf5c0052d85ed00f4abb76aca88a87dd933
parent504177a4b01ba3e84fcb801561e6c1fab55bb013
wl1271: refactor debugfs function generation code

refactor wl1271_debugfs by using a format&copy function, instead of
duplicating the code for each generated function.

this change reduces about 3Kb from wl1271.ko

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/wl1271_debugfs.c