Revert "drivers/rtc/rtc-palmas.c: add dt support"
Dan Willemsen [Tue, 20 Aug 2013 04:35:38 +0000 (21:35 -0700)]
This reverts commit 0288d2e32653efc55943768bd12e2bbf20ce9750.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

drivers/rtc/rtc-palmas.c

index 50204d4..bbc3b9e 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/kernel.h>
 #include <linux/mfd/palmas.h>
 #include <linux/module.h>
-#include <linux/of.h>
 #include <linux/rtc.h>
 #include <linux/types.h>
 #include <linux/platform_device.h>
@@ -317,14 +316,6 @@ static const struct dev_pm_ops palmas_rtc_pm_ops = {
        SET_SYSTEM_SLEEP_PM_OPS(palmas_rtc_suspend, palmas_rtc_resume)
 };
 
-#ifdef CONFIG_OF
-static struct of_device_id of_palmas_rtc_match[] = {
-       { .compatible = "ti,palmas-rtc"},
-       { },
-};
-MODULE_DEVICE_TABLE(of, of_palmas_rtc_match);
-#endif
-
 static struct platform_driver palmas_rtc_driver = {
        .probe          = palmas_rtc_probe,
        .remove         = palmas_rtc_remove,
@@ -332,7 +323,6 @@ static struct platform_driver palmas_rtc_driver = {
                .owner  = THIS_MODULE,
                .name   = "palmas-rtc",
                .pm     = &palmas_rtc_pm_ops,
-               .of_match_table = of_match_ptr(of_palmas_rtc_match),
        },
 };