Commit e4818d3
clk: imx: scu: Use common error handling code in imx_clk_scu_alloc_dev()
Add a jump target so that a bit of exception handling can be better reused
at the end of this function.
Signed-off-by: Markus Elfring <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abel Vesa <[email protected]>1 parent e1ed0b0 commit e4818d3
1 file changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
| 715 | + | |
| 716 | + | |
719 | 717 | | |
720 | 718 | | |
721 | 719 | | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
| 720 | + | |
| 721 | + | |
726 | 722 | | |
727 | 723 | | |
728 | 724 | | |
729 | 725 | | |
730 | 726 | | |
731 | 727 | | |
732 | 728 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
| 729 | + | |
| 730 | + | |
737 | 731 | | |
738 | 732 | | |
739 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
740 | 738 | | |
741 | 739 | | |
742 | 740 | | |
| |||
0 commit comments