commit | 669f5faf84998227b2604d310a7f33ac90189b8c | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Nov 13 18:14:34 2014 +0530 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Nov 14 13:16:05 2014 -0800 |
tree | 4216f3638e8a055d6f122344bebee1828bbd9793 | |
parent | 35a52cafbc214844f5940fe756bc2af01d987626 [diff] |
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>