]> asedeno.scripts.mit.edu Git - linux.git/commit
extcon: adc-jack: Remove dev_err() usage after platform_get_irq()
authorStephen Boyd <swboyd@chromium.org>
Tue, 30 Jul 2019 18:15:12 +0000 (11:15 -0700)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 31 Jul 2019 00:55:46 +0000 (09:55 +0900)
commita3fc5723397703a56fb6083b3e2f2ac601d1dfe0
tree61d7719c01aad420ea1940764eeba143c130dfd6
parent21be848ebc5f3cb714b23c2528fbe73f69073c32
extcon: adc-jack: Remove dev_err() usage after platform_get_irq()

We don't need dev_err() messages when platform_get_irq() fails now that
platform_get_irq() prints an error message itself when something goes
wrong. Let's remove these prints with a simple semantic patch.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
[cw00.choi: Edit patch title and description for readability]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c