OSDN Git Service

pinctrl: microchip: Remove redundant clearing of IRQ_TYPE_SENSE_MASK
authorLizhe <sensor1010@163.com>
Fri, 19 May 2023 17:07:16 +0000 (01:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 13:07:27 +0000 (15:07 +0200)
commit6171212e9fc7b45a4c4f4736896f590389b95150
treeedb2b5050ff3f336e52f06029b0018d91987a59d
parent44825e5ead0f3e8dda4bbc1c20175c42942659ab
pinctrl: microchip: Remove redundant clearing of IRQ_TYPE_SENSE_MASK

Before executing microchip_sgpio_irq_set_type(),
type has already been cleared IRQ_TYPE_SENSE_MASK, see __irq_set_trigger().

Signed-off-by: Lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230519170716.3459-1-sensor1010@163.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-microchip-sgpio.c