greybus: arche-apb: platform data 'apb' is guaranteed to be valid
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Jan 2016 05:59:09 +0000 (11:29 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 Jan 2016 23:58:01 +0000 (15:58 -0800)
commit977ff250755f4ae01ef50e98d792fabebb199c34
treea38ab97ad7c7b604c651b206212b937a32559672
parent3b538c399c3273ec268f7c641c8ce35c1235763a
greybus: arche-apb: platform data 'apb' is guaranteed to be valid

Platform data 'apb' is guaranteed to be valid in arche_apb_ctrl_remove()
and so no need to check it.

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