]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: bus: Define and use symbols for device and class name lengths
authorMuhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com>
Sun, 4 Aug 2024 12:33:13 +0000 (17:33 +0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2024 17:11:59 +0000 (19:11 +0200)
commit1b9c2e94df1408e567f23641f6052af9a75614d1
tree9a7ed69e3e768f46d9306b9ed23365350db1e37b
parentf70ae2df130d8f8c70aea618b1b1b901163b9676
ACPI: bus: Define and use symbols for device and class name lengths

It is better to define symbols for the maximum ACPI device name length
and the maximum ACPI class name length instead of using raw numbers in
typedef statements.

Signed-off-by: Muhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com>
Link: https://patch.msgid.link/20240804123313.16211-6-qasim.majeed20@gmail.com
[ rjw: Subject edits, added a changelog, dropped unrelated change ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/acpi_bus.h