From: Mauro Carvalho Chehab Date: Mon, 28 Jun 2010 15:37:13 +0000 (-0300) Subject: V4L/DVB: ir-core: Remove magic numbers at the sysfs logic X-Git-Tag: v2.6.36-rc1~582^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4403b7b4eabd3f307c21bfadebe7a1d951d1478b;p=pandora-kernel.git V4L/DVB: ir-core: Remove magic numbers at the sysfs logic Instead of using "magic" sizes for protocol names, replace them by an array, and use strlen(). No functional changes. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed