slimbus: ngd: register ngd driver only once.
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Sun, 16 Sep 2018 23:45:46 +0000 (16:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:21:02 +0000 (20:21 +0200)
commit1830dad34c070161fda2ff1db77b39ffa78aa380
tree911f869370d7e26da44f1f196d4755f9a535bafb
parent3104389edc012e2567cabb94af8763121c33e72b
slimbus: ngd: register ngd driver only once.

Move ngd platform driver out of loop so that it registers only once.

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