[media] rc-core: use an IDA rather than a bitmap
authorDavid Härdeman <david@hardeman.nu>
Tue, 19 May 2015 22:03:17 +0000 (19:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:26:15 +0000 (08:26 -0300)
commitfcb13097867757d360d5226d36ed3ffe849dc3ae
tree23404ba90bcf2895232f877321d26c84abccb121
parenta66b0c41ad277ae62a3ae6ac430a71882f899557
[media] rc-core: use an IDA rather than a bitmap

This patch changes rc-core to use the kernel facilities that are already
available for handling unique numbers instead of rolling its own bitmap
stuff.

Signed-off-by: David Härdeman <david@hardeman.nu>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-ir-raw.c
drivers/media/rc/rc-main.c
include/media/rc-core.h