From a9e55ea9774cc87434b386a7fba63d96af32792d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 28 Jun 2010 12:43:25 -0300 Subject: [PATCH] V4L/DVB: ir-core: Rename sysfs protocols nomenclature to rc-5 and rc-6 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 --- drivers/media/IR/ir-sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index f897c483e7bc..c0c4dc250599 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c @@ -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" }, }; -- 2.34.1