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>
Mon, 21 Jun 2021 09:28:00 +0000 (18:28 +0900)
commitd3a213d23c5248f40986cbf8699c755c204ba90e
treeba8e61ec35229e52252bca2c3946962c6cc52af9
parentdc11fc2991e9efbceef93912b83e333d2835fb19
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