]> www.infradead.org Git - users/jedix/linux-maple.git/commit
extcon: sm5502: Use devm_regmap_add_irq_chip()
authorStephan Gerhold <stephan@gerhold.net>
Mon, 31 May 2021 13:34:33 +0000 (15:34 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 1 Jun 2021 15:57:42 +0000 (00:57 +0900)
commit3c4d5b5e505774231f8600ff5db18a6ed72f6e6b
treea3bf2ebaef67956deab8691f067bbdb0c3bb918c
parent71a45906a24ae0cf45ed4bdd975dab99aea9cde3
extcon: sm5502: Use devm_regmap_add_irq_chip()

Use devm_regmap_add_irq_chip() to avoid having to remove the
irqchip explicitly in sm5502_muic_i2c_remove().

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-sm5502.c