diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-11-25 10:40:11 +0100 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-06-09 13:00:32 +0200 |
| commit | 5351cf8e96ee149c50fd19a882185907c92934df (patch) | |
| tree | 01006273b842c0048ab25204560958cd611d5786 /scripts/Makefile.thinlto | |
| parent | f105c7a1be20c0e656d3175f5a7b4a4405d4e169 (diff) | |
i2c: acpi: Return -ENOENT when no resources found in i2c_acpi_client_count()
Some users want to return an error to the upper layers when
i2c_acpi_client_count() returns 0. Follow the common pattern
in such cases, i.e. return -ENOENT instead of 0.
While at it, fix the kernel-doc warning about missing return value
description.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
