OpenCloudOS-Kernel/drivers/media/rc/img-ir
David Härdeman c5540fbb9d [media] rc-core: remove protocol arrays
The basic API of rc-core used to be:

	dev = rc_allocate_device();
	dev->x = a;
	dev->y = b;
	dev->z = c;
	rc_register_device();

which is a pretty common pattern in the kernel, after the introduction of
protocol arrays the API looks something like:

	dev = rc_allocate_device();
	dev->x = a;
	rc_set_allowed_protocols(dev, RC_BIT_X);
	dev->z = c;
	rc_register_device();

There's no real need for the protocols to be an array, so change it
back to be consistent (and in preparation for the following patches).

[m.chehab@samsung.com: added missing changes at some files]
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-25 19:10:43 -03:00
..
Kconfig [media] rc: img-ir: add Sanyo decoder module 2014-03-11 15:48:12 -03:00
Makefile [media] rc: img-ir: add Sanyo decoder module 2014-03-11 15:48:12 -03:00
img-ir-core.c [media] rc: img-ir: Expand copyright headers with GPL notices 2014-06-17 12:04:55 -03:00
img-ir-hw.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
img-ir-hw.h [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir-jvc.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir-nec.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir-raw.c [media] rc: img-ir: Expand copyright headers with GPL notices 2014-06-17 12:04:55 -03:00
img-ir-raw.h [media] rc: img-ir: Expand copyright headers with GPL notices 2014-06-17 12:04:55 -03:00
img-ir-sanyo.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir-sharp.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir-sony.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
img-ir.h [media] rc: img-ir: Expand copyright headers with GPL notices 2014-06-17 12:04:55 -03:00