diff options
author | David Härdeman <david@hardeman.nu> | 2017-06-25 09:32:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-04 14:03:21 -0300 |
commit | 46c8f4771154eb0dc21f5f2bc2640a33e8fe1d02 (patch) | |
tree | ceb3f9342ccff3441735eddd94bdb54a891b2508 /include/media | |
parent | 3381b779a736f4908a64b603ce339ab067e01de7 (diff) | |
download | blackbird-op-linux-46c8f4771154eb0dc21f5f2bc2640a33e8fe1d02.tar.gz blackbird-op-linux-46c8f4771154eb0dc21f5f2bc2640a33e8fe1d02.zip |
[media] media: lirc_dev: use an IDA instead of an array to keep track of registered devices
Using the kernel-provided IDA simplifies the code and makes it possible
to remove the lirc_dev_lock mutex.
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/lirc_dev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h index 8e3894e2d2c8..51c15c050e85 100644 --- a/include/media/lirc_dev.h +++ b/include/media/lirc_dev.h @@ -9,7 +9,6 @@ #ifndef _LINUX_LIRC_DEV_H #define _LINUX_LIRC_DEV_H -#define MAX_IRCTL_DEVICES 8 #define BUFLEN 16 #include <linux/slab.h> |