summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-10-21 17:08:27 +0100
committerTom Rini <[email protected]>2025-12-04 09:38:16 -0600
commitae4f60801f344aa26e3f2d1ffe6f6227be6f16a2 (patch)
treeda860874d4fe59d12e106b8ce7b69860647aadf6 /include/linux
parent42d30f9447c136d2c1f46c8a12e6058e3cddc3b6 (diff)
clk: microchip: mpfs: Fix error detection
clk_register() will return standard error codes so the use of ERR_PTR() is incorrect. Furthermore the code was ineffective as it lacked a return statement that would have actually made use of the result. Add the return statement and remove the use of ERR_PTR to correct this. Signed-off-by: Andrew Goodbody <[email protected]> Acked-by: Conor Dooley <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions