commit | 71e4938012faff9b84916f5424dbf4dff8d1d09e | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Mar 24 20:14:29 2015 +0530 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Tue Mar 24 21:00:24 2015 +0100 |
tree | 64807734e6c8edad5c8355fc7cd5b761cd1f9466 | |
parent | 0d34be75878093bef5055311c254ae3ff459fd8f [diff] |
greybus: interface: put module->dev on failures In order to decrement the reference count of module on failures, we must call put_device(module->dev). This was missing for one of the error cases, fix it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>