]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit3d222bbaa7329e8ef45129e1bd6801000d7e05e4
treeab6db91fb6bea05e116de52228167879e627adae
parente72948eb21d1da0275be1c6e0c7a9a22aa67a5e3
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