extcon: axp288:: Handle return value of platform_get_irq
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 23 Nov 2017 15:55:30 +0000 (21:25 +0530)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 3 Jan 2018 01:10:51 +0000 (10:10 +0900)
commit01e1429b877ece6576eb59b74f613b630f859478
tree9f50d30367a34cdd6713d666e42dcd312f7ec371
parentc7eb47f9e45226571be31212f6efd4b307d3b59d
extcon: axp288:: Handle return value of platform_get_irq

platform_get_irq() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c