wlcore: add support macros to easily add conf debugfs entries
authorEyal Shapira <eyal@wizery.com>
Thu, 7 Jun 2012 20:39:20 +0000 (23:39 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Jun 2012 06:14:07 +0000 (09:14 +0300)
commitbc8e261233cf0f1ad838f60bac782df3a5bc6bac
tree3c2999750715258b876f378b117a8ef5c5db9bcc
parente16de2c4fc674f5558fd87f57c6a8e5156b22c21
wlcore: add support macros to easily add conf debugfs entries

The current debugfs code contains too much code duplication
of bolierplate code. Add some macro magic to avoid this and
enable adding new debugfs entries by using just a few lines.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/debugfs.c