]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Rewrite debugfs kobj_to_* helpers as functions
authorSven Eckelmann <sven@narfation.org>
Sun, 5 Jun 2011 08:20:19 +0000 (10:20 +0200)
committerSven Eckelmann <sven@narfation.org>
Thu, 9 Jun 2011 18:40:38 +0000 (20:40 +0200)
commit24928be12406ec1ee94e396684630cc575db1ebd
treeab6db91fb6bea05e116de52228167879e627adae
parentf9f866043ed5d8d4bd249407a460c61de571b9b0
batman-adv: Rewrite debugfs kobj_to_* helpers as functions

CodingStyle "Chapter 12: Macros, Enums and RTL" highly recommends to use
functions instead of macros were possible. This ensures type safety and
prevents shadowing of other variables.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bat_sysfs.c