i2c: cht-wc: Use generic_handle_irq_safe().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 11 Feb 2022 18:14:56 +0000 (19:14 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 1 Mar 2022 14:58:57 +0000 (15:58 +0100)
commita5ea32579f08b9f612e3091467d01b6503ba24dd
tree1eeab34dcedab20c4d833178575b13bab5e85169
parent68ea1b2c3386ad484b7daa4a64fa7b3be661607f
i2c: cht-wc: Use generic_handle_irq_safe().

Instead of manually disabling interrupts before invoking use
generic_handle_irq_safe() which can be invoked with enabled and disabled
interrupts.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-cht-wc.c