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

ABI: sysfs-devices-platform-dock: 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/56790ba596b34c234da1e0d17ca7f19435df87ff.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
5097586d 6b85d2f7

+5 -5
+5 -5
Documentation/ABI/testing/sysfs-devices-platform-dock
··· 1 - What: /sys/devices/platform/dock.N/docked 1 + What: /sys/devices/platform/dock.<N>/docked 2 2 Date: Dec, 2006 3 3 KernelVersion: 2.6.19 4 4 Contact: linux-acpi@vger.kernel.org ··· 6 6 (RO) Value 1 or 0 indicates whether the software believes the 7 7 laptop is docked in a docking station. 8 8 9 - What: /sys/devices/platform/dock.N/undock 9 + What: /sys/devices/platform/dock.<N>/undock 10 10 Date: Dec, 2006 11 11 KernelVersion: 2.6.19 12 12 Contact: linux-acpi@vger.kernel.org ··· 14 14 (WO) Writing to this file causes the software to initiate an 15 15 undock request to the firmware. 16 16 17 - What: /sys/devices/platform/dock.N/uid 17 + What: /sys/devices/platform/dock.<N>/uid 18 18 Date: Feb, 2007 19 19 KernelVersion: v2.6.21 20 20 Contact: linux-acpi@vger.kernel.org 21 21 Description: 22 22 (RO) Displays the docking station the laptop is docked to. 23 23 24 - What: /sys/devices/platform/dock.N/flags 24 + What: /sys/devices/platform/dock.<N>/flags 25 25 Date: May, 2007 26 26 KernelVersion: v2.6.21 27 27 Contact: linux-acpi@vger.kernel.org ··· 30 30 request has been made by the user (from the immediate_undock 31 31 option). 32 32 33 - What: /sys/devices/platform/dock.N/type 33 + What: /sys/devices/platform/dock.<N>/type 34 34 Date: Aug, 2008 35 35 KernelVersion: v2.6.27 36 36 Contact: linux-acpi@vger.kernel.org