]> www.infradead.org Git - users/dwmw2/linux.git/commit
pinctrl: cy8c95x0: Drop unneeded casting
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 09:51:18 +0000 (11:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Feb 2025 23:17:26 +0000 (00:17 +0100)
commit6a6cab49f07f59b2f3bf60c97fbd2461cd210fa4
treed8c548d2f693cea5c9711dd068cc3d2307b49857
parent145c39050e7d875b34b0dc86fba065bd22418fd2
pinctrl: cy8c95x0: Drop unneeded casting

The 'arg' variable in cy8c95x0_gpio_get_pincfg() is already type of u16.
No need to cast it, so drop unneeded casting.

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