Re: [PATCH] i2c: muxes: fix leaked i2c adapter device node references

2015-08-31 Thread Wolfram Sang
On Wed, Aug 26, 2015 at 11:59:33PM +0300, Vladimir Zapolskiy wrote: > Every call of of_parse_phandle() increments user count of found device > node, if OF_DYNAMIC is enabled. > > The change fixes all similar addressed cases in drivers/i2c. > > Signed-off-by: Vladimir Zapolskiy Applied to for-ne

[PATCH] i2c: muxes: fix leaked i2c adapter device node references

2015-08-26 Thread Vladimir Zapolskiy
Every call of of_parse_phandle() increments user count of found device node, if OF_DYNAMIC is enabled. The change fixes all similar addressed cases in drivers/i2c. Signed-off-by: Vladimir Zapolskiy --- drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 1 + drivers/i2c/muxes/i2c-mux-gpio.c