slimbus: core: use slim_device_update_status() to update status
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 14 Jan 2019 13:44:48 +0000 (13:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 12:34:35 +0000 (13:34 +0100)
commit380c62466d024cd478adef4a3cb6ad2091a8af15
tree930603a4b689644dd1f2f71636068d6d53eba16d
parentcfb32101ba148ad772a2556fc5086069c59d882f
slimbus: core: use slim_device_update_status() to update status

use slim_device_update_status() instead of directly calling
the device_status() callback. Move slim_device_update_status() before
probe to avoid forward declaration too.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/core.c