greybus: arche-apb: Drop unnecessary checks
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Jan 2016 05:59:16 +0000 (11:29 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 Jan 2016 23:58:01 +0000 (15:58 -0800)
commit40989cf3c1e3c114d3558ad4d7513344ed612ac2
treebeab32c9b82309bc5f30c5cab2a4e3bd45180900
parentd258432fb2fbf1a5a4910dbc31aba99d04801268
greybus: arche-apb: Drop unnecessary checks

wake_detect_gpio and resetn_gpio are guaranteed to be valid in
apb_ctrl_cleanup() and irq-handler, no need to check for their validity.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c