File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -747,12 +747,6 @@ static int caam_probe(struct platform_device *pdev)
747
747
#endif
748
748
}
749
749
750
- ret = devm_of_platform_populate (dev );
751
- if (ret ) {
752
- dev_err (dev , "JR platform devices creation error\n" );
753
- return ret ;
754
- }
755
-
756
750
ring = 0 ;
757
751
for_each_available_child_of_node (nprop , np )
758
752
if (of_device_is_compatible (np , "fsl,sec-v4.0-job-ring" ) ||
@@ -905,7 +899,12 @@ static int caam_probe(struct platform_device *pdev)
905
899
debugfs_create_blob ("tdsk" , S_IRUSR | S_IRGRP | S_IROTH , ctrlpriv -> ctl ,
906
900
& ctrlpriv -> ctl_tdsk_wrap );
907
901
#endif
908
- return 0 ;
902
+
903
+ ret = devm_of_platform_populate (dev );
904
+ if (ret )
905
+ dev_err (dev , "JR platform devices creation error\n" );
906
+
907
+ return ret ;
909
908
}
910
909
911
910
static struct platform_driver caam_driver = {
You can’t perform that action at this time.
0 commit comments