commit | bdbf4a29ee5bbe5b6743ba47bc7b10ec2cba8b21 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Wed Aug 26 23:59:33 2015 +0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 31 22:40:34 2015 +0200 |
tree | 55e1349545281cc42506557e303913a6aba76780 | |
parent | 3fffd12839273429a185d68431f117f0a3654b07 [diff] |
i2c: muxes: fix leaked i2c adapter device node references 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 <vz@mleia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>