Commit 5097586d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Greg Kroah-Hartman
Browse files

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: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/56790ba596b34c234da1e0d17ca7f19435df87ff.1631782432.git.mchehab+huawei@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6b85d2f7
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
What:		/sys/devices/platform/dock.N/docked
What:		/sys/devices/platform/dock.<N>/docked
Date:		Dec, 2006
KernelVersion:	2.6.19
Contact:	linux-acpi@vger.kernel.org
@@ -6,7 +6,7 @@ Description:
		(RO) Value 1 or 0 indicates whether the software believes the
		laptop is docked in a docking station.

What:		/sys/devices/platform/dock.N/undock
What:		/sys/devices/platform/dock.<N>/undock
Date:		Dec, 2006
KernelVersion:	2.6.19
Contact:	linux-acpi@vger.kernel.org
@@ -14,14 +14,14 @@ Description:
		(WO) Writing to this file causes the software to initiate an
		undock request to the firmware.

What:		/sys/devices/platform/dock.N/uid
What:		/sys/devices/platform/dock.<N>/uid
Date:		Feb, 2007
KernelVersion:	v2.6.21
Contact:	linux-acpi@vger.kernel.org
Description:
		(RO) Displays the docking station the laptop is docked to.

What:		/sys/devices/platform/dock.N/flags
What:		/sys/devices/platform/dock.<N>/flags
Date:		May, 2007
KernelVersion:	v2.6.21
Contact:	linux-acpi@vger.kernel.org
@@ -30,7 +30,7 @@ Description:
		request has been made by the user (from the immediate_undock
		option).

What:		/sys/devices/platform/dock.N/type
What:		/sys/devices/platform/dock.<N>/type
Date:		Aug, 2008
KernelVersion:	v2.6.27
Contact:	linux-acpi@vger.kernel.org