commit | 2e1e4949f9dfb053122785cd73540bb1e61f768b | [log] [tgz] |
---|---|---|
author | Qi Hou <qi.hou@windriver.com> | Fri Mar 03 15:57:11 2017 +0800 |
committer | Peter Rosin <peda@axentia.se> | Fri Mar 03 10:50:28 2017 +0100 |
tree | 2e6d819dec257db0c19af0e95b25fc1d72bc449d | |
parent | c470abd4fde40ea6a0846a2beab642a578c0b8cd [diff] |
i2c: add missing of_node_put in i2c_mux_del_adapters Refcount of of_node is increased with of_node_get() in i2c_mux_add_adapter(). It must be decreased with of_node_put() in i2c_mux_del_adapters(). Cc: stable@vger.kernel.org Signed-off-by: Qi Hou <qi.hou@windriver.com> Reviewed-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Peter Rosin <peda@axentia.se>