V4L/DVB: ir-core: Remove magic numbers at the sysfs logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Jun 2010 15:37:13 +0000 (12:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:54:35 +0000 (14:54 -0300)
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 <mchehab@redhat.com>

No differences found