V4L/DVB: ir-core: Rename sysfs protocols nomenclature to rc-5 and rc-6
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Jun 2010 15:43:25 +0000 (12:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:54:45 +0000 (14:54 -0300)
While rc-5 and rc-6 protocols are generally abreviated as "rc5" and "rc6",
previous sysfs nodes uses rc-5 and rc-6 for the Philips protocols. This is
consistent with the protocol nomenclature given by the original Philips
spec: "Remote control system RC-5" (doc. Nr. 9398 706 23011).
Also, rc5 is the name of a widely known cryptography protocol.

So, the better is to keep referring to those protocols as "rc-5" and "rc-6".

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c

index f897c48..c0c4dc2 100644 (file)
@@ -38,9 +38,9 @@ static struct {
        char    *name;
 } proto_names[] = {
        { IR_TYPE_UNKNOWN,      "unknown"       },
-       { IR_TYPE_RC5,          "rc5"           },
+       { IR_TYPE_RC5,          "rc-5"          },
        { IR_TYPE_NEC,          "nec"           },
-       { IR_TYPE_RC6,          "rc6"           },
+       { IR_TYPE_RC6,          "rc-6"          },
        { IR_TYPE_JVC,          "jvc"           },
        { IR_TYPE_SONY,         "sony"          },
 };