Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: lirc: remove unused lirc features

These features have never been implemented by any lirc driver, including
staging or out of tree drivers. The ioctls for these feaures were removed
in commit d55f09abe24b ("[media] lirc.h: remove several unused ioctls").

So, we can safely remove them.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
b2a90f4f a922a0cb

-22
-18
Documentation/userspace-api/media/rc/lirc-get-features.rst
··· 102 102 The driver supports setting the receive carrier frequency using 103 103 :ref:`ioctl LIRC_SET_REC_CARRIER <LIRC_SET_REC_CARRIER>`. 104 104 105 - .. _LIRC-CAN-SET-REC-DUTY-CYCLE-RANGE: 106 - 107 - ``LIRC_CAN_SET_REC_DUTY_CYCLE_RANGE`` 108 - 109 - Unused. Kept just to avoid breaking uAPI. 110 - 111 105 .. _LIRC-CAN-SET-REC-CARRIER-RANGE: 112 106 113 107 ``LIRC_CAN_SET_REC_CARRIER_RANGE`` ··· 123 129 The driver supports 124 130 :ref:`ioctl LIRC_SET_REC_TIMEOUT <LIRC_SET_REC_TIMEOUT>`. 125 131 126 - .. _LIRC-CAN-SET-REC-FILTER: 127 - 128 - ``LIRC_CAN_SET_REC_FILTER`` 129 - 130 - Unused. Kept just to avoid breaking uAPI. 131 - 132 132 .. _LIRC-CAN-MEASURE-CARRIER: 133 133 134 134 ``LIRC_CAN_MEASURE_CARRIER`` ··· 136 148 137 149 The driver supports learning mode using 138 150 :ref:`ioctl LIRC_SET_WIDEBAND_RECEIVER <LIRC_SET_WIDEBAND_RECEIVER>`. 139 - 140 - .. _LIRC-CAN-NOTIFY-DECODE: 141 - 142 - ``LIRC_CAN_NOTIFY_DECODE`` 143 - 144 - Unused. Kept just to avoid breaking uAPI. 145 151 146 152 .. _LIRC-CAN-SEND-RAW: 147 153
-4
include/uapi/linux/lirc.h
··· 72 72 #define LIRC_CAN_SET_REC_CARRIER (LIRC_CAN_SET_SEND_CARRIER << 16) 73 73 #define LIRC_CAN_SET_REC_DUTY_CYCLE (LIRC_CAN_SET_SEND_DUTY_CYCLE << 16) 74 74 75 - #define LIRC_CAN_SET_REC_DUTY_CYCLE_RANGE 0x40000000 76 75 #define LIRC_CAN_SET_REC_CARRIER_RANGE 0x80000000 77 76 #define LIRC_CAN_GET_REC_RESOLUTION 0x20000000 78 77 #define LIRC_CAN_SET_REC_TIMEOUT 0x10000000 79 - #define LIRC_CAN_SET_REC_FILTER 0x08000000 80 78 81 79 #define LIRC_CAN_MEASURE_CARRIER 0x02000000 82 80 #define LIRC_CAN_USE_WIDEBAND_RECEIVER 0x04000000 83 81 84 82 #define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK) 85 83 #define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK) 86 - 87 - #define LIRC_CAN_NOTIFY_DECODE 0x01000000 88 84 89 85 /*** IOCTL commands for lirc driver ***/ 90 86