]> git.karo-electronics.de Git - karo-tx-linux.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)
commit03107a4b5923aa7767329e857caf227749087e47
treecb6cebf5c0052d85ed00f4abb76aca88a87dd933
parent71125abdf0c297adc00dc5632f0318b2397286f5
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