]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: cy8c95x0: Transform to cy8c95x0_regmap_read_bits()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 09:51:13 +0000 (11:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Feb 2025 23:17:25 +0000 (00:17 +0100)
commit4f7a59abf956d71f4c79c55a2404193f151613f4
tree2e4e5f3b6246715ab56dcc0cbaa31626a1ff438a
parent83e29a7a1fdfd9e8a503934b5a0a17e6967dbe1b
pinctrl: cy8c95x0: Transform to cy8c95x0_regmap_read_bits()

The returned value of cy8c95x0_regmap_read() is used always with
a bitmask being applied. Move that bitmasking code into the function.
At the same time transform it to cy8c95x0_regmap_read_bits() which
will be in align with the write and update counterparts.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/20250205095243.512292-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c