Make sure to drop the reference taken when looking up the SMI device
during probe on late probe failure (e.g. probe deferral) and on driver
unbind.
Included is also a related cleanup.
Johan
Johan Hovold (3):
memory: mtk-smi: fix device leaks on common probe
memory: mtk-smi: fix device leak on larb probe
memory: mtk-smi: clean up device link creation
drivers/memory/mtk-smi.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
--
2.51.2