dm: core: Use -ENOSPC in acpi_get_path()
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:04 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commitaa4ad8bbad9d18c2363565418fc0d6e3dec4e928
tree8d25310abf97843833d0612c61d7ff01f85b401b
parent42a2668743b58820392a2cde3c722822daa50db6
dm: core: Use -ENOSPC in acpi_get_path()

Update this function to use -ENOSPC which is more commly used when a buffer
runs out of space.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/acpi.c