]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Simplify acpi_device_infer_name()
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:23 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
commitd1e85308feed8ea66d2af71860130f004d5f9632
tree9ab40b929d5b34f3e092f6aafd118000634b8eaa
parentdf3dc209526e9d8b5636a01cdb5cc0a396742159
x86: Simplify acpi_device_infer_name()

There is no-longer any need to check if sequence numbers are valid, since
this is ensured by driver model. Drop the unwanted logic.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/acpi/acpi_device.c
test/dm/acpi.c