File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ static int ux500_msp_drv_probe(struct platform_device *pdev)
733
733
734
734
drvdata -> reg_vape = devm_regulator_get (& pdev -> dev , "v-ape" );
735
735
if (IS_ERR (drvdata -> reg_vape )) {
736
- ret = ( int ) PTR_ERR (drvdata -> reg_vape );
736
+ ret = PTR_ERR (drvdata -> reg_vape );
737
737
dev_err (& pdev -> dev ,
738
738
"%s: ERROR: Failed to get Vape supply (%d)!\n" ,
739
739
__func__ , ret );
@@ -743,7 +743,7 @@ static int ux500_msp_drv_probe(struct platform_device *pdev)
743
743
744
744
drvdata -> pclk = devm_clk_get (& pdev -> dev , "apb_pclk" );
745
745
if (IS_ERR (drvdata -> pclk )) {
746
- ret = ( int ) PTR_ERR (drvdata -> pclk );
746
+ ret = PTR_ERR (drvdata -> pclk );
747
747
dev_err (& pdev -> dev ,
748
748
"%s: ERROR: devm_clk_get of pclk failed (%d)!\n" ,
749
749
__func__ , ret );
@@ -752,7 +752,7 @@ static int ux500_msp_drv_probe(struct platform_device *pdev)
752
752
753
753
drvdata -> clk = devm_clk_get (& pdev -> dev , NULL );
754
754
if (IS_ERR (drvdata -> clk )) {
755
- ret = ( int ) PTR_ERR (drvdata -> clk );
755
+ ret = PTR_ERR (drvdata -> clk );
756
756
dev_err (& pdev -> dev ,
757
757
"%s: ERROR: devm_clk_get failed (%d)!\n" ,
758
758
__func__ , ret );
You can’t perform that action at this time.
0 commit comments