]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: cy8c95x0: Initialise boolean variable with boolean values
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 09:51:16 +0000 (11:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Feb 2025 23:17:26 +0000 (00:17 +0100)
commit682d385aca63d53470313b98b4e9ff1a7a11f1c1
tree0b77182d993b38eb3d2a77a3ff4579b0ea8dbb4c
parentc0fc4039832262cf615f7be47f53cd54984bb091
pinctrl: cy8c95x0: Initialise boolean variable with boolean values

The 'ret' variable in cy8c95x0_irq_handler() is defined as bool,
but is intialised with integers. Avoid implicit castings and
initialise boolean variable with boolean values.

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