From: Linus Lüssing Date: Sun, 21 Nov 2010 23:55:54 +0000 (+0100) Subject: Staging: batman-adv: Ommit storing struct device in sysfs functions X-Git-Tag: v2.6.38-rc1~423^2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1623948f879069b33d07986aa95e3b9969322ff4;p=pandora-kernel.git Staging: batman-adv: Ommit storing struct device in sysfs functions We actually do not need an extra struct device variable, therefore replacing them with defines that directly get the bat_priv or net_device. This further reduces the code size in bat_sysfs.c and especially shortens some macros. Signed-off-by: Linus Lüssing Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed