From: Antonio Quartulli Date: Wed, 9 May 2012 07:50:45 +0000 (+0200) Subject: batman-adv: use DBG_ALL in log_level sysfs definition X-Git-Tag: v3.6-rc1~125^2~521^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3a409391f55ad0bddbf017d4d4987b783a3059;p=pandora-kernel.git batman-adv: use DBG_ALL in log_level sysfs definition Each time a new log level is added the developer must change either the DBG_ALL enum definition and the hard coded value in the bat_sysfs.c for the log_level attribute max value. This is extremely error prone. With this patch the code directly uses DBG_ALL in the sysfs definition Signed-off-by: Antonio Quartulli Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed