summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-02-19 15:05:32 +0100
committerGuenter Roeck <linux@roeck-us.net>2026-04-12 07:24:59 -0700
commit77353904e1847ae51b7e1df14dd73c661ff799a4 (patch)
treef31a98a47c96a216d8a807376f9abbb90939862a /scripts/const_structs.checkpatch
parenta69ae329d425df7e0638903ca74abea615cafc7d (diff)
hwmon: (isl28022) 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/20260219140532.2259235-1-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions