diff options
| author | 2025-11-25 10:40:11 +0100 | |
|---|---|---|
| committer | 2026-06-09 13:00:32 +0200 | |
| commit | 5351cf8e96ee149c50fd19a882185907c92934df (patch) | |
| tree | 01006273b842c0048ab25204560958cd611d5786 /tools/lib/python/kdoc/python_version.py | |
| parent | i2c: at91: Add MCHP_LAN966X_PCI dependency (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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
