History

[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.

David Härdeman committed 9 years ago

Commit 46c8f471 parent 3381b772 files · +12 −25Browse files

Showing the changes to include/media/lirc_dev.h (1 of 2 files). Show all

Unified · Split

include/media/lirc_dev.h+0−1
@@ -9,7 +9,6 @@ · 8 unmodified lines
99 #ifndef _LINUX_LIRC_DEV_H
1010 #define _LINUX_LIRC_DEV_H
1111
12−#define MAX_IRCTL_DEVICES 8
1312 #define BUFLEN 16
1413
1514 #include <linux/slab.h>