summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-02-19 15:19:36 +0100
committerGuenter Roeck <linux@roeck-us.net>2026-04-12 07:23:51 -0700
commita69ae329d425df7e0638903ca74abea615cafc7d (patch)
tree6121cbd3e308721458c6bf74e83115ae110e5347 /include/linux
parentff708b549c4dbecb308fa97e360a8fe0b2f89309 (diff)
hwmon: (pmbus/tps25990) Don't check for specific errors when parsing properties
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@linux.intel.com> Link: https://lore.kernel.org/r/20260219141936.2259945-1-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions