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)
747747#endif
748748 }
749749
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-
756750 ring = 0 ;
757751 for_each_available_child_of_node (nprop , np )
758752 if (of_device_is_compatible (np , "fsl,sec-v4.0-job-ring" ) ||
@@ -905,7 +899,12 @@ static int caam_probe(struct platform_device *pdev)
905899 debugfs_create_blob ("tdsk" , S_IRUSR | S_IRGRP | S_IROTH , ctrlpriv -> ctl ,
906900 & ctrlpriv -> ctl_tdsk_wrap );
907901#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 ;
909908}
910909
911910static struct platform_driver caam_driver = {
You can’t perform that action at this time.
0 commit comments