aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-test.c')
-rw-r--r--drivers/rtc/rtc-test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c
index 1bfe212b64a7..e1f7e8e86daf 100644
--- a/drivers/rtc/rtc-test.c
+++ b/drivers/rtc/rtc-test.c
@@ -119,8 +119,6 @@ static int test_probe(struct platform_device *plat_dev)
119 &test_rtc_ops, THIS_MODULE); 119 &test_rtc_ops, THIS_MODULE);
120 if (IS_ERR(rtc)) { 120 if (IS_ERR(rtc)) {
121 err = PTR_ERR(rtc); 121 err = PTR_ERR(rtc);
122 dev_err(&plat_dev->dev,
123 "unable to register the class device\n");
124 return err; 122 return err;
125 } 123 }
126 device_create_file(&plat_dev->dev, &dev_attr_irq); 124 device_create_file(&plat_dev->dev, &dev_attr_irq);