extcon: arizona: Remove excessive WARN_ON
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 9 Dec 2019 11:09:13 +0000 (11:09 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Dec 2019 11:18:14 +0000 (20:18 +0900)
commit8267ebcc46176d90b7b169440ebbc890e09a5010
treeba12a5b4c747b6f8cab720fc886b5ec5830d9aa7
parentf4ba6c0ba762e10b0bad42b5d28f7e2ab1fe5ff9
extcon: arizona: Remove excessive WARN_ON

A WARN_ON is very strong for simply finding a button that is out of
range, downgrade this to a simple error message in the log.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c