Skip to content
Permalink
Browse files
ARM/smp_twd: Cleanup the unnecessary cast
It's not necessary to specify 'int' castingfor 'PTR_ERR(twd_clk)'.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
  • Loading branch information
Tang Bin authored and intel-lab-lkp committed Aug 11, 2021
1 parent 42359bc commit d796b458f195f35962a4ca889134f542e2186b1f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -199,7 +199,7 @@ static void twd_get_clock(struct device_node *np)
twd_clk = clk_get_sys("smp_twd", NULL);

if (IS_ERR(twd_clk)) {
pr_err("smp_twd: clock not found %d\n", (int) PTR_ERR(twd_clk));
pr_err("smp_twd: clock not found %d\n", PTR_ERR(twd_clk));
return;
}

0 comments on commit d796b45

Please sign in to comment.