]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: arche-platform: svc_reset_gpio can't be invalid in arche_platform_cleanup()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Jan 2016 05:59:06 +0000 (11:29 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 Jan 2016 23:58:01 +0000 (15:58 -0800)
commit140741ec6384435b1a0f89042a2a6dac8e2eebd2
tree879bd2b59b383594697b7f049978a8f725e45db4
parent72a8c24b6dcae46c4e8c37c1b1d1adb6e6b8a72f
greybus: arche-platform: svc_reset_gpio can't be invalid in arche_platform_cleanup()

svc_reset_gpio is guaranteed to be valid in arche_platform_cleanup. Drop
the useless check.

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-platform.c