[PATCH v2 0/4] platform/x86: int3472: A few cleanups
From: Andy Shevchenko
Date: Thu Aug 22 2024 - 09:07:36 EST
A few cleanups to the driver. It includes an amendment to
dev_err_probe() to ignore 0 error code. The patches 1 and 2 are
dependent, while patches 2 and 3 may be applied in any order.
Assumed to go via PDx86 tree if no objections to the code.
v2:
- amended code example in the documentation (Ilpo, Greg)
- added note about -ENOMEM and 0 to the kernel-doc
- fixed kernel-doc warning (no "Return" section)
- added tags (Ilpo)
Andy Shevchenko (4):
driver core: Ignore 0 in dev_err_probe()
platform/x86: int3472: Simplify dev_err_probe() usage
platform/x86: int3472: Use GPIO_LOOKUP() macro
platform/x86: int3472: Use str_high_low()
drivers/base/core.c | 13 +++++++++++--
drivers/platform/x86/intel/int3472/discrete.c | 14 ++++----------
2 files changed, 15 insertions(+), 12 deletions(-)
--
2.43.0.rc1.1336.g36b5255a03ac