ABI: sysfs-class-rc: use wildcards on What definitions
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:48 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:17 +0000 (18:31 +0200)
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>
Documentation/ABI/testing/sysfs-class-rc

index 9c8ff79..84e46d7 100644 (file)
@@ -7,7 +7,7 @@ Description:
                core and provides a sysfs interface for configuring infrared
                remote controller receivers.
 
-What:          /sys/class/rc/rcN/
+What:          /sys/class/rc/rc<N>/
 Date:          Apr 2010
 KernelVersion: 2.6.35
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -15,7 +15,7 @@ Description:
                A /sys/class/rc/rcN directory is created for each remote
                control receiver device where N is the number of the receiver.
 
-What:          /sys/class/rc/rcN/protocols
+What:          /sys/class/rc/rc<N>/protocols
 Date:          Jun 2010
 KernelVersion: 2.6.36
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -40,7 +40,7 @@ Description:
                Write fails with EINVAL if an invalid protocol combination or
                unknown protocol name is used.
 
-What:          /sys/class/rc/rcN/filter
+What:          /sys/class/rc/rc<N>/filter
 Date:          Jan 2014
 KernelVersion: 3.15
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -55,7 +55,7 @@ Description:
 
                This value may be reset to 0 if the current protocol is altered.
 
-What:          /sys/class/rc/rcN/filter_mask
+What:          /sys/class/rc/rc<N>/filter_mask
 Date:          Jan 2014
 KernelVersion: 3.15
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -72,7 +72,7 @@ Description:
 
                This value may be reset to 0 if the current protocol is altered.
 
-What:          /sys/class/rc/rcN/wakeup_protocols
+What:          /sys/class/rc/rc<N>/wakeup_protocols
 Date:          Feb 2017
 KernelVersion: 4.11
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -98,7 +98,7 @@ Description:
                unknown protocol name is used, or if wakeup is not supported by
                the hardware.
 
-What:          /sys/class/rc/rcN/wakeup_filter
+What:          /sys/class/rc/rc<N>/wakeup_filter
 Date:          Jan 2014
 KernelVersion: 3.15
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
@@ -117,7 +117,7 @@ Description:
 
                This value may be reset to 0 if the wakeup protocol is altered.
 
-What:          /sys/class/rc/rcN/wakeup_filter_mask
+What:          /sys/class/rc/rc<N>/wakeup_filter_mask
 Date:          Jan 2014
 KernelVersion: 3.15
 Contact:       Mauro Carvalho Chehab <mchehab+samsung@kernel.org>