aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clocksource/sh_mtu2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c
index f2c1c36139e1..188d4e092efc 100644
--- a/drivers/clocksource/sh_mtu2.c
+++ b/drivers/clocksource/sh_mtu2.c
@@ -533,10 +533,8 @@ static int sh_mtu2_probe(struct platform_device *pdev)
533 } 533 }
534 534
535 mtu = kzalloc(sizeof(*mtu), GFP_KERNEL); 535 mtu = kzalloc(sizeof(*mtu), GFP_KERNEL);
536 if (mtu == NULL) { 536 if (mtu == NULL)
537 dev_err(&pdev->dev, "failed to allocate driver data\n");
538 return -ENOMEM; 537 return -ENOMEM;
539 }
540 538
541 ret = sh_mtu2_setup(mtu, pdev); 539 ret = sh_mtu2_setup(mtu, pdev);
542 if (ret) { 540 if (ret) {