greybus: arche-platform: fix incorrect gpio variable type
authorDavid Lin <dtwlin@google.com>
Tue, 8 Mar 2016 05:52:54 +0000 (21:52 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Mar 2016 14:21:21 +0000 (06:21 -0800)
commit7fe9301422444a1fca71bb8c4c0673fb44eb0f2d
treefa834d87936d9c4c293d3182b419c83779ca3891
parent9fa3a9b8cb7e04b600166049424d01b428a251ad
greybus: arche-platform: fix incorrect gpio variable type

GPIO number obtained from of_get_named_gpio() should be signed to allow
error handling.

Testing Done:
Built & booted on EVT1.5

Signed-off-by: David Lin <dtwlin@google.com>
Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c
drivers/staging/greybus/arche-platform.c