commit | dd5a8f20c28732d7eeaa5a9768676e9045c97ce1 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Nov 01 11:38:18 2016 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Nov 29 08:21:34 2016 +0000 |
tree | 50b8aaec912cd214389de2b4fe1928836f2cae6c | |
parent | 794550ffbf9134f8357b3035b8784f4ead6001d6 [diff] |
mfd: core: Fix device reference leak in mfd_clone_cell Make sure to drop the reference taken by bus_find_device_by_name() before returning from mfd_clone_cell(). Fixes: a9bbba996302 ("mfd: add platform_device sharing support for mfd") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>