greybus: don't set ->dev.driver to NULL when it is already NULL

Parent objects of 'dev' are allocated with kzalloc() and so all of their fields
are initialized with 0. Hence no need of marking them NULL again.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
3 files changed
tree: 4216f3638e8a055d6f122344bebee1828bbd9793
  1. drivers/