diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-15 10:19:44 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-16 10:26:08 +0200 |
commit | 03d4bd5729f3adb3dbf923ab08affb5bad262d53 (patch) | |
tree | 0c637f5f05d1ee84527af9684558f08779bb33d7 /rust/helpers/build_bug.c | |
parent | 2aa8ccab5ae67281e4d3660f8d9ee68d8b76fcef (diff) |
gpio: wcove: use regmap_assign_bits() in .set()
Replace the if-else with a direct call to the regmap_assign_bits()
helper and save a couple lines of code.
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250715-gpiochip-set-rv-gpio-remaining-v2-1-072b4cf06330@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions