aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2022-10-24 19:48:07 +0800
committerMarc Kleine-Budde <[email protected]>2022-10-25 09:13:14 +0200
commit3e5b3418827cefb5e1cc658806f02965791b8f07 (patch)
treebc9740e6defe6bc7d366a16c287e6a0394294c77 /lib/mpi/mpi-sub-ui.c
parentbaee5a14ab2c9a8f8df09d021885c8f5de458a38 (diff)
can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
The commit 1149108e2fbf ("can: mscan: improve clock API use") only adds put_clock() in mpc5xxx_can_remove() function, forgetting to add put_clock() in the error handling code. Fix this bug by adding put_clock() in the error handling code. Fixes: 1149108e2fbf ("can: mscan: improve clock API use") Signed-off-by: Dongliang Mu <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions