aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2022-11-23 09:59:53 +0800
committerAlexandre Belloni <[email protected]>2022-12-10 22:37:02 +0100
commit90cd5c88830140c9fade92a8027e0fb2c6e4cc49 (patch)
tree1faf2f79a5b0655cd4dfa63cee01d1d12464d585 /lib/mpi/mpi-mod.c
parent5fb733d7bd6949e90028efdce8bd528c6ab7cf1e (diff)
rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
The pic32_rtc_enable(pdata, 0) and clk_disable_unprepare(pdata->clk) should be called in the error handling of devm_rtc_allocate_device(), so we should move devm_rtc_allocate_device earlier in pic32_rtc_probe() to fix it. Fixes: 6515e23b9fde ("rtc: pic32: convert to devm_rtc_allocate_device") Signed-off-by: Gaosheng Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions