]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm2835: drop irq_enable/disable callbacks
authorStefan Wahren <stefan.wahren@i2se.com>
Tue, 14 Jun 2022 20:28:30 +0000 (22:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 25 Jun 2022 23:03:39 +0000 (01:03 +0200)
commit93402349bac295c7752a76c696fa022dc129b4a4
tree1b9421fc62669ed3c81eee7a2cfea60ad2da1d59
parent95221168992bda0b6f814ed98658c0450c6c32dc
pinctrl: bcm2835: drop irq_enable/disable callbacks

The commit bd4b54111f07 ("pinctrl: bcm2835: Fix support for threaded level
triggered IRQs") assigned the irq_mask/unmask callbacks with the
already existing functions for irq_enable/disable. The wasn't completely
the right way (tm) to fix the issue, because these callbacks shouldn't
be identical. So fix this by rename the functions to represent their
intension and drop the unnecessary irq_enable/disable assigment.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220614202831.236341-2-stefan.wahren@i2se.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c