[PATCH 4.6 057/121] mfd: intel_quark_i2c_gpio: Remove clock tree on error path

2016-06-05 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 7f0c5ae18d649ed2f4978cbf07c02a0ff732f23e upstream. There is a potential resource leak in case when ->probe() fails. We have to

[PATCH 4.6 057/121] mfd: intel_quark_i2c_gpio: Remove clock tree on error path

2016-06-05 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 7f0c5ae18d649ed2f4978cbf07c02a0ff732f23e upstream. There is a potential resource leak in case when ->probe() fails. We have to unregister and remove clock tree which is