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

Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/80b7f60a6bac7bb1938d60dca509d75dff3c2c62.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-gnss

index c8553d972eddfde93341b04d161528d13b543afc..9650f3a7fc03e401d795919bce4dfd92e0c62ef9 100644 (file)
@@ -1,4 +1,4 @@
-What:          /sys/class/gnss/gnssN/type
+What:          /sys/class/gnss/gnss<N>/type
 Date:          May 2018
 KernelVersion: 4.18
 Contact:       Johan Hovold <johan@kernel.org>