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

ABI: sysfs-class-rc: use wildcards on What definitions

An "N" upper letter is not a wildcard, nor can easily be identified
by script, specially since the USB sysfs define things like.
bNumInterfaces. Use, instead, <N>, in order to let script/get_abi.pl
to convert it into a Regex.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/42778ca4b2f9bf73fafecb9b388a8fcd0e66be26.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Mauro Carvalho Chehab and committed by
Greg Kroah-Hartman
fa1d8fdd 24e83d41

+7 -7
+7 -7
Documentation/ABI/testing/sysfs-class-rc
··· 7 7 core and provides a sysfs interface for configuring infrared 8 8 remote controller receivers. 9 9 10 - What: /sys/class/rc/rcN/ 10 + What: /sys/class/rc/rc<N>/ 11 11 Date: Apr 2010 12 12 KernelVersion: 2.6.35 13 13 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 15 15 A /sys/class/rc/rcN directory is created for each remote 16 16 control receiver device where N is the number of the receiver. 17 17 18 - What: /sys/class/rc/rcN/protocols 18 + What: /sys/class/rc/rc<N>/protocols 19 19 Date: Jun 2010 20 20 KernelVersion: 2.6.36 21 21 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 40 40 Write fails with EINVAL if an invalid protocol combination or 41 41 unknown protocol name is used. 42 42 43 - What: /sys/class/rc/rcN/filter 43 + What: /sys/class/rc/rc<N>/filter 44 44 Date: Jan 2014 45 45 KernelVersion: 3.15 46 46 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 55 55 56 56 This value may be reset to 0 if the current protocol is altered. 57 57 58 - What: /sys/class/rc/rcN/filter_mask 58 + What: /sys/class/rc/rc<N>/filter_mask 59 59 Date: Jan 2014 60 60 KernelVersion: 3.15 61 61 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 72 72 73 73 This value may be reset to 0 if the current protocol is altered. 74 74 75 - What: /sys/class/rc/rcN/wakeup_protocols 75 + What: /sys/class/rc/rc<N>/wakeup_protocols 76 76 Date: Feb 2017 77 77 KernelVersion: 4.11 78 78 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 98 98 unknown protocol name is used, or if wakeup is not supported by 99 99 the hardware. 100 100 101 - What: /sys/class/rc/rcN/wakeup_filter 101 + What: /sys/class/rc/rc<N>/wakeup_filter 102 102 Date: Jan 2014 103 103 KernelVersion: 3.15 104 104 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> ··· 117 117 118 118 This value may be reset to 0 if the wakeup protocol is altered. 119 119 120 - What: /sys/class/rc/rcN/wakeup_filter_mask 120 + What: /sys/class/rc/rc<N>/wakeup_filter_mask 121 121 Date: Jan 2014 122 122 KernelVersion: 3.15 123 123 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>