extcon: axp288: Add missed error check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Jul 2019 12:18:19 +0000 (15:18 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 Jul 2019 01:23:46 +0000 (10:23 +0900)
commitd72e3dc7915fc6c54645772c13f4afc0e676c7e2
tree65abe917ccbb5557f398028851410a5b434993d4
parent005ad18727b489eb9fd6182f8941042e274387dc
extcon: axp288: Add missed error check

It seems from the very beginning the error check has been missed
in axp288_extcon_log_rsi(). Add it here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c