media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_*
RC_TYPE is confusing and it's just the protocol. So rename it. Suggested-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Sean Young <sean@mess.org> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
a9a249a2c9
commit
6d741bfed5
@@ -1023,8 +1023,8 @@ static int nvt_probe(struct pnp_dev *pdev, const struct pnp_device_id *dev_id)
|
||||
|
||||
/* Set up the rc device */
|
||||
rdev->priv = nvt;
|
||||
rdev->allowed_protocols = RC_BIT_ALL_IR_DECODER;
|
||||
rdev->allowed_wakeup_protocols = RC_BIT_ALL_IR_ENCODER;
|
||||
rdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER;
|
||||
rdev->allowed_wakeup_protocols = RC_PROTO_BIT_ALL_IR_ENCODER;
|
||||
rdev->encode_wakeup = true;
|
||||
rdev->open = nvt_open;
|
||||
rdev->close = nvt_close;
|
||||
|
Reference in New Issue
Block a user