greybus: don't set ->dev.driver to NULL when it is already NULL
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:34 +0000 (18:14 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:16:05 +0000 (13:16 -0800)
commit669f5faf84998227b2604d310a7f33ac90189b8c
tree4216f3638e8a055d6f122344bebee1828bbd9793
parent35a52cafbc214844f5940fe756bc2af01d987626
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>
drivers/staging/greybus/connection.c
drivers/staging/greybus/interface.c
drivers/staging/greybus/module.c