extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER
authorH. Nikolaus Schaller <hns@goldelico.com>
Mon, 17 Feb 2020 13:38:15 +0000 (14:38 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 24 Mar 2020 23:16:13 +0000 (08:16 +0900)
commit3426ad6d40ae5f46b4d75f1e0342565444e52f5f
tree8bfd78804d1dd428702b515ec92486c9194da950
parent1d2790470349ef7c32c6e895d8a13086152a2d9e
extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER

If the gpios are probed after this driver (e.g. if they
come from an i2c expander) there is no need to print an
error message.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-palmas.c