Re: [PATCH v1 1/1] hwmon: (ina233) Don't check for specific errors when parsing properties
From: Guenter Roeck
Date: Sun Apr 12 2026 - 10:32:08 EST
On Thu, Feb 19, 2026 at 03:15:32PM +0100, Andy Shevchenko wrote:
> Instead of checking for the specific error codes (that can be considered
> a layering violation to some extent) check for the property existence first
> and then either parse it, or apply a default value.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Applied.
Thanks,
Guenter