clk: fsl-sai: fix memory leak
authorMichael Walle <michael@walle.cc>
Thu, 5 Nov 2020 19:27:44 +0000 (20:27 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 7 Dec 2020 22:06:16 +0000 (14:06 -0800)
commite81bed419f032824e7ddf8b5630153be6637e480
treeabcc0643052af220dc95b33a765f0c5613d2fc30
parentb8bcece8a77fe0deedb7afc115881468d9c1617c
clk: fsl-sai: fix memory leak

If the device is removed we don't unregister the composite clock. Fix
that.

Fixes: 9cd10205227c ("clk: fsl-sai: new driver")
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20201105192746.19564-2-michael@walle.cc
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-fsl-sai.c