Re: [PATCH] i2c: add missing of_node_put in i2c_mux_del_adapters

Wolfram Sang
2017-03-09T15:40:09Z

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

On Thu, Mar 09, 2017 at 03:40:33PM +0100, Wolfram Sang wrote:
> On Fri, Mar 03, 2017 at 03:57:11PM +0800, Qi Hou wrote:
> > 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().
> >
> > Signe-off-by: Qi Hou <qi.hou@windriver.com>
> > Reviewed-by: Zhang Xiao <xiao.zhang@windriver.com>
> > Acked-by: Peter Rosin <peda@axentia.se>
>
> Applied to for-current, thanks!

For completeness, I reverted this patch and merged the fixed version
from Peter instead. Thanks Peter for the heads up!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]