pinctrl: cy8c95x0: Remove redundant check in cy8c95x0_regmap_update_bits_base()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 09:51:14 +0000 (11:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Feb 2025 23:17:25 +0000 (00:17 +0100)
commit009ba0eafecf50d1d1c5e6cf1cfe22c6cf55360e
treea9f0cfb42e3a24bbda70cca12de1ad15e3df976a
parent4f7a59abf956d71f4c79c55a2404193f151613f4
pinctrl: cy8c95x0: Remove redundant check in cy8c95x0_regmap_update_bits_base()

The function is never called with the PORTSEL register in the argument.
Drop unneeded check, but rescue a comment. While at it, drop inline
and allow any compiler to choose better stragy (note, that inline in
C code is only a recomendation to most of the modern compilers anyway).

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