x86: ich6_gpio: Output return value of syscon_get_by_driver_data()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 8 Jun 2016 12:07:32 +0000 (05:07 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 12 Jun 2016 04:19:35 +0000 (12:19 +0800)
commit8142340ee3847c6422294fad0f1adc01c9d27e2b
tree04667a685d4b92b07b4d7012e5f638b55c45db96
parent8a1a7595cfbcb12d01a5c1f486ebfd50af90c34c
x86: ich6_gpio: Output return value of syscon_get_by_driver_data()

The call to syscon_get_by_driver_data() does not save its return value.
Print it out to aid debugging.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/intel_ich6_gpio.c