rtc: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
d373860d70
commit
0929ae376e
|
@ -352,7 +352,6 @@ static int pm80x_rtc_remove(struct platform_device *pdev)
|
|||
static struct platform_driver pm80x_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "88pm80x-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &pm80x_rtc_pm_ops,
|
||||
},
|
||||
.probe = pm80x_rtc_probe,
|
||||
|
|
|
@ -448,7 +448,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_rtc_pm_ops, pm860x_rtc_suspend, pm860x_rtc_resum
|
|||
static struct platform_driver pm860x_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "88pm860x-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &pm860x_rtc_pm_ops,
|
||||
},
|
||||
.probe = pm860x_rtc_probe,
|
||||
|
|
|
@ -243,7 +243,6 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver ab3100_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "ab3100-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -517,7 +517,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ab8500_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "ab8500-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ab8500_rtc_probe,
|
||||
.remove = ab8500_rtc_remove,
|
||||
|
|
|
@ -277,7 +277,6 @@ static struct platform_driver at32_rtc_driver = {
|
|||
.remove = __exit_p(at32_rtc_remove),
|
||||
.driver = {
|
||||
.name = "at32ap700x_rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -491,7 +491,6 @@ static struct platform_driver at91_rtc_driver = {
|
|||
.shutdown = at91_rtc_shutdown,
|
||||
.driver = {
|
||||
.name = "at91_rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &at91_rtc_pm_ops,
|
||||
.of_match_table = of_match_ptr(at91_rtc_dt_ids),
|
||||
},
|
||||
|
|
|
@ -446,7 +446,6 @@ static struct platform_driver at91_rtc_driver = {
|
|||
.shutdown = at91_rtc_shutdown,
|
||||
.driver = {
|
||||
.name = "rtc-at91sam9",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &at91_rtc_pm_ops,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -117,7 +117,6 @@ out_err:
|
|||
static struct platform_driver au1xrtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-au1xxx",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume);
|
|||
static struct platform_driver bfin_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-bfin",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &bfin_rtc_pm_ops,
|
||||
},
|
||||
.probe = bfin_rtc_probe,
|
||||
|
|
|
@ -192,7 +192,6 @@ MODULE_ALIAS("platform:rtc-bq4802");
|
|||
static struct platform_driver bq4802_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-bq4802",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = bq4802_probe,
|
||||
};
|
||||
|
|
|
@ -267,7 +267,6 @@ static const struct of_device_id coh901331_dt_match[] = {
|
|||
static struct platform_driver coh901331_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-coh901331",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &coh901331_pm_ops,
|
||||
.of_match_table = coh901331_dt_match,
|
||||
},
|
||||
|
|
|
@ -265,7 +265,6 @@ static struct platform_driver da9052_rtc_driver = {
|
|||
.probe = da9052_rtc_probe,
|
||||
.driver = {
|
||||
.name = "da9052-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -391,7 +391,6 @@ static struct platform_driver da9055_rtc_driver = {
|
|||
.probe = da9055_rtc_probe,
|
||||
.driver = {
|
||||
.name = "da9055-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &da9055_rtc_pm_ops,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -341,7 +341,6 @@ static struct platform_driver da9063_rtc_driver = {
|
|||
.probe = da9063_rtc_probe,
|
||||
.driver = {
|
||||
.name = DA9063_DRVNAME_RTC,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -550,7 +550,6 @@ static struct platform_driver davinci_rtc_driver = {
|
|||
.remove = __exit_p(davinci_rtc_remove),
|
||||
.driver = {
|
||||
.name = "rtc_davinci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -146,7 +146,6 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver rtc_dm355evm_driver = {
|
||||
.probe = dm355evm_rtc_probe,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "rtc-dm355evm",
|
||||
},
|
||||
};
|
||||
|
|
|
@ -170,7 +170,6 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver ds1216_rtc_platform_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-ds1216",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -356,7 +356,6 @@ static int ds1286_probe(struct platform_device *pdev)
|
|||
static struct platform_driver ds1286_platform_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-ds1286",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ds1286_probe,
|
||||
};
|
||||
|
|
|
@ -244,7 +244,6 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver ds1302_platform_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -561,7 +561,6 @@ static struct platform_driver ds1511_rtc_driver = {
|
|||
.remove = ds1511_rtc_remove,
|
||||
.driver = {
|
||||
.name = "ds1511",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -351,7 +351,6 @@ static struct platform_driver ds1553_rtc_driver = {
|
|||
.remove = ds1553_rtc_remove,
|
||||
.driver = {
|
||||
.name = "rtc-ds1553",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -230,7 +230,6 @@ static struct platform_driver ds1742_rtc_driver = {
|
|||
.remove = ds1742_rtc_remove,
|
||||
.driver = {
|
||||
.name = "rtc-ds1742",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ds1742_rtc_of_match),
|
||||
},
|
||||
};
|
||||
|
|
|
@ -274,7 +274,6 @@ static struct platform_driver rtc_device_driver = {
|
|||
.remove = rtc_remove,
|
||||
.driver = {
|
||||
.name = "ds2404",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
module_platform_driver(rtc_device_driver);
|
||||
|
|
|
@ -226,7 +226,6 @@ static int __init efi_rtc_probe(struct platform_device *dev)
|
|||
static struct platform_driver efi_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-efi",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -174,7 +174,6 @@ static int ep93xx_rtc_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ep93xx_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "ep93xx-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ep93xx_rtc_probe,
|
||||
.remove = ep93xx_rtc_remove,
|
||||
|
|
|
@ -51,7 +51,6 @@ static int __init generic_rtc_probe(struct platform_device *dev)
|
|||
static struct platform_driver generic_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-generic",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -331,7 +331,6 @@ static struct platform_driver hid_time_platform_driver = {
|
|||
.id_table = hid_time_ids,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = hid_time_probe,
|
||||
.remove = hid_time_remove,
|
||||
|
|
|
@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, dryice_dt_ids);
|
|||
static struct platform_driver dryice_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "imxdi_rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(dryice_dt_ids),
|
||||
},
|
||||
.remove = __exit_p(dryice_rtc_remove),
|
||||
|
|
|
@ -299,7 +299,6 @@ static struct platform_driver jz4740_rtc_driver = {
|
|||
.probe = jz4740_rtc_probe,
|
||||
.driver = {
|
||||
.name = "jz4740-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = JZ4740_RTC_PM_OPS,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -316,7 +316,6 @@ static struct platform_driver lp8788_rtc_driver = {
|
|||
.probe = lp8788_rtc_probe,
|
||||
.driver = {
|
||||
.name = LP8788_DEV_RTC,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
module_platform_driver(lp8788_rtc_driver);
|
||||
|
|
|
@ -379,7 +379,6 @@ static struct platform_driver lpc32xx_rtc_driver = {
|
|||
.remove = lpc32xx_rtc_remove,
|
||||
.driver = {
|
||||
.name = RTC_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = LPC32XX_RTC_PM_OPS,
|
||||
.of_match_table = of_match_ptr(lpc32xx_rtc_match),
|
||||
},
|
||||
|
|
|
@ -188,7 +188,6 @@ err:
|
|||
static struct platform_driver ls1x_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "ls1x-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ls1x_rtc_probe,
|
||||
};
|
||||
|
|
|
@ -181,7 +181,6 @@ static int m48t35_probe(struct platform_device *pdev)
|
|||
static struct platform_driver m48t35_platform_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-m48t35",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = m48t35_probe,
|
||||
};
|
||||
|
|
|
@ -504,7 +504,6 @@ MODULE_ALIAS("platform:rtc-m48t59");
|
|||
static struct platform_driver m48t59_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-m48t59",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = m48t59_rtc_probe,
|
||||
.remove = m48t59_rtc_remove,
|
||||
|
|
|
@ -169,7 +169,6 @@ static int m48t86_rtc_probe(struct platform_device *dev)
|
|||
static struct platform_driver m48t86_rtc_platform_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-m48t86",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = m48t86_rtc_probe,
|
||||
};
|
||||
|
|
|
@ -513,7 +513,6 @@ static const struct platform_device_id rtc_id[] = {
|
|||
static struct platform_driver max77686_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max77686-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &max77686_rtc_pm_ops,
|
||||
},
|
||||
.probe = max77686_rtc_probe,
|
||||
|
|
|
@ -488,7 +488,6 @@ static const struct platform_device_id rtc_id[] = {
|
|||
static struct platform_driver max77802_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max77802-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &max77802_rtc_pm_ops,
|
||||
},
|
||||
.probe = max77802_rtc_probe,
|
||||
|
|
|
@ -215,7 +215,6 @@ static int max8907_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver max8907_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max8907-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8907_rtc_probe,
|
||||
};
|
||||
|
|
|
@ -314,7 +314,6 @@ static SIMPLE_DEV_PM_OPS(max8925_rtc_pm_ops, max8925_rtc_suspend, max8925_rtc_re
|
|||
static struct platform_driver max8925_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max8925-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &max8925_rtc_pm_ops,
|
||||
},
|
||||
.probe = max8925_rtc_probe,
|
||||
|
|
|
@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = {
|
|||
static struct platform_driver max8997_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max8997-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8997_rtc_probe,
|
||||
.shutdown = max8997_rtc_shutdown,
|
||||
|
|
|
@ -313,7 +313,6 @@ static const struct platform_device_id max8998_rtc_id[] = {
|
|||
static struct platform_driver max8998_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max8998-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8998_rtc_probe,
|
||||
.id_table = max8998_rtc_id,
|
||||
|
|
|
@ -370,7 +370,6 @@ static struct platform_driver mc13xxx_rtc_driver = {
|
|||
.remove = mc13xxx_rtc_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -317,7 +317,6 @@ static struct platform_driver moxart_rtc_driver = {
|
|||
.probe = moxart_rtc_probe,
|
||||
.driver = {
|
||||
.name = "moxart-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = moxart_rtc_match,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -411,7 +411,6 @@ static const struct of_device_id mpc5121_rtc_match[] = {
|
|||
static struct platform_driver mpc5121_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "mpc5121-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(mpc5121_rtc_match),
|
||||
},
|
||||
.probe = mpc5121_rtc_probe,
|
||||
|
|
|
@ -225,7 +225,6 @@ static int __init msm6242_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver msm6242_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-msm6242",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -329,7 +329,6 @@ static struct platform_driver mv_rtc_driver = {
|
|||
.remove = __exit_p(mv_rtc_remove),
|
||||
.driver = {
|
||||
.name = "rtc-mv",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(rtc_mv_of_match_table),
|
||||
},
|
||||
};
|
||||
|
|
|
@ -489,7 +489,6 @@ static struct platform_driver mxc_rtc_driver = {
|
|||
.driver = {
|
||||
.name = "mxc_rtc",
|
||||
.pm = &mxc_rtc_pm_ops,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.id_table = imx_rtc_devtype,
|
||||
.probe = mxc_rtc_probe,
|
||||
|
|
|
@ -262,7 +262,6 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver nuc900_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "nuc900-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -569,7 +569,6 @@ static struct platform_driver omap_rtc_driver = {
|
|||
.shutdown = omap_rtc_shutdown,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &omap_rtc_pm_ops,
|
||||
.of_match_table = omap_rtc_of_match,
|
||||
},
|
||||
|
|
|
@ -363,7 +363,6 @@ static struct platform_driver palmas_rtc_driver = {
|
|||
.probe = palmas_rtc_probe,
|
||||
.remove = palmas_rtc_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "palmas-rtc",
|
||||
.pm = &palmas_rtc_pm_ops,
|
||||
.of_match_table = of_match_ptr(of_palmas_rtc_match),
|
||||
|
|
|
@ -184,7 +184,6 @@ static struct platform_driver pcap_rtc_driver = {
|
|||
.remove = __exit_p(pcap_rtc_remove),
|
||||
.driver = {
|
||||
.name = "pcap-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -485,7 +485,6 @@ static struct platform_driver pm8xxx_rtc_driver = {
|
|||
.probe = pm8xxx_rtc_probe,
|
||||
.driver = {
|
||||
.name = "rtc-pm8xxx",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &pm8xxx_rtc_pm_ops,
|
||||
.of_match_table = pm8xxx_id_table,
|
||||
},
|
||||
|
|
|
@ -74,7 +74,6 @@ static int __init ps3_rtc_probe(struct platform_device *dev)
|
|||
static struct platform_driver ps3_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-ps3",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -328,7 +328,6 @@ static struct platform_driver puv3_rtc_driver = {
|
|||
.remove = puv3_rtc_remove,
|
||||
.driver = {
|
||||
.name = "PKUnity-v3-RTC",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &puv3_rtc_pm_ops,
|
||||
}
|
||||
};
|
||||
|
|
|
@ -310,7 +310,6 @@ static struct platform_driver rc5t583_rtc_driver = {
|
|||
.probe = rc5t583_rtc_probe,
|
||||
.remove = rc5t583_rtc_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "rtc-rc5t583",
|
||||
.pm = &rc5t583_rtc_pm_ops,
|
||||
},
|
||||
|
|
|
@ -273,7 +273,6 @@ static int __exit rp5c01_rtc_remove(struct platform_device *dev)
|
|||
static struct platform_driver rp5c01_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-rp5c01",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __exit_p(rp5c01_rtc_remove),
|
||||
};
|
||||
|
|
|
@ -381,7 +381,6 @@ static int rs5c313_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver rs5c313_rtc_platform_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = rs5c313_rtc_probe,
|
||||
};
|
||||
|
|
|
@ -894,7 +894,6 @@ static struct platform_driver s3c_rtc_driver = {
|
|||
.remove = s3c_rtc_remove,
|
||||
.driver = {
|
||||
.name = "s3c-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &s3c_rtc_pm_ops,
|
||||
.of_match_table = of_match_ptr(s3c_rtc_dt_match),
|
||||
},
|
||||
|
|
|
@ -837,7 +837,6 @@ static const struct platform_device_id s5m_rtc_id[] = {
|
|||
static struct platform_driver s5m_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "s5m-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &s5m_rtc_pm_ops,
|
||||
},
|
||||
.probe = s5m_rtc_probe,
|
||||
|
|
|
@ -782,7 +782,6 @@ static SIMPLE_DEV_PM_OPS(sh_rtc_pm_ops, sh_rtc_suspend, sh_rtc_resume);
|
|||
static struct platform_driver sh_rtc_platform_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &sh_rtc_pm_ops,
|
||||
},
|
||||
.remove = __exit_p(sh_rtc_remove),
|
||||
|
|
|
@ -408,7 +408,6 @@ static SIMPLE_DEV_PM_OPS(sirfsoc_rtc_pm_ops,
|
|||
static struct platform_driver sirfsoc_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "sirfsoc-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &sirfsoc_rtc_pm_ops,
|
||||
.of_match_table = sirfsoc_rtc_of_match,
|
||||
},
|
||||
|
|
|
@ -327,7 +327,6 @@ MODULE_DEVICE_TABLE(of, snvs_dt_ids);
|
|||
static struct platform_driver snvs_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "snvs_rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &snvs_rtc_pm_ops,
|
||||
.of_match_table = snvs_dt_ids,
|
||||
},
|
||||
|
|
|
@ -54,7 +54,6 @@ static int __init starfire_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver starfire_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-starfire",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -358,7 +358,6 @@ static struct platform_driver stk17ta8_rtc_driver = {
|
|||
.remove = stk17ta8_rtc_remove,
|
||||
.driver = {
|
||||
.name = "stk17ta8",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -341,7 +341,6 @@ static struct platform_driver stmp3xxx_rtcdrv = {
|
|||
.remove = stmp3xxx_rtc_remove,
|
||||
.driver = {
|
||||
.name = "stmp3xxx-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &stmp3xxx_rtc_pm_ops,
|
||||
.of_match_table = rtc_dt_ids,
|
||||
},
|
||||
|
|
|
@ -95,7 +95,6 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev)
|
|||
static struct platform_driver sun4v_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-sun4v",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -511,7 +511,6 @@ static struct platform_driver sunxi_rtc_driver = {
|
|||
.remove = sunxi_rtc_remove,
|
||||
.driver = {
|
||||
.name = "sunxi-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sunxi_rtc_dt_ids,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -420,7 +420,6 @@ static struct platform_driver tegra_rtc_driver = {
|
|||
.shutdown = tegra_rtc_shutdown,
|
||||
.driver = {
|
||||
.name = "tegra_rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = tegra_rtc_dt_match,
|
||||
.pm = &tegra_rtc_pm_ops,
|
||||
},
|
||||
|
|
|
@ -129,7 +129,6 @@ static struct platform_driver test_driver = {
|
|||
.remove = test_remove,
|
||||
.driver = {
|
||||
.name = "rtc-test",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -94,7 +94,6 @@ static int tile_rtc_probe(struct platform_device *dev)
|
|||
static struct platform_driver tile_rtc_platform_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-tile",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tile_rtc_probe,
|
||||
};
|
||||
|
|
|
@ -337,7 +337,6 @@ static SIMPLE_DEV_PM_OPS(tps6586x_pm_ops, tps6586x_rtc_suspend,
|
|||
static struct platform_driver tps6586x_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "tps6586x-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &tps6586x_pm_ops,
|
||||
},
|
||||
.probe = tps6586x_rtc_probe,
|
||||
|
|
|
@ -326,7 +326,6 @@ static struct platform_driver tps65910_rtc_driver = {
|
|||
.probe = tps65910_rtc_probe,
|
||||
.remove = tps65910_rtc_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "tps65910-rtc",
|
||||
.pm = &tps65910_rtc_pm_ops,
|
||||
},
|
||||
|
|
|
@ -324,7 +324,6 @@ static SIMPLE_DEV_PM_OPS(tps80031_pm_ops, tps80031_rtc_suspend,
|
|||
static struct platform_driver tps80031_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "tps80031-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &tps80031_pm_ops,
|
||||
},
|
||||
.probe = tps80031_rtc_probe,
|
||||
|
|
|
@ -608,7 +608,6 @@ static struct platform_driver twl4030rtc_driver = {
|
|||
.remove = twl_rtc_remove,
|
||||
.shutdown = twl_rtc_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "twl_rtc",
|
||||
.pm = &twl_rtc_pm_ops,
|
||||
.of_match_table = of_match_ptr(twl_rtc_of_match),
|
||||
|
|
|
@ -287,7 +287,6 @@ static struct platform_driver tx4939_rtc_driver = {
|
|||
.remove = __exit_p(tx4939_rtc_remove),
|
||||
.driver = {
|
||||
.name = "tx4939rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -382,7 +382,6 @@ static struct platform_driver rtc_device_driver = {
|
|||
.remove = rtc_remove,
|
||||
.driver = {
|
||||
.name = "v3020",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -375,7 +375,6 @@ static struct platform_driver rtc_platform_driver = {
|
|||
.probe = rtc_probe,
|
||||
.driver = {
|
||||
.name = rtc_name,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -277,7 +277,6 @@ static struct platform_driver vt8500_rtc_driver = {
|
|||
.remove = vt8500_rtc_remove,
|
||||
.driver = {
|
||||
.name = "vt8500-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = wmt_dt_ids,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -264,7 +264,6 @@ static struct platform_driver xgene_rtc_driver = {
|
|||
.probe = xgene_rtc_probe,
|
||||
.remove = xgene_rtc_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "xgene-rtc",
|
||||
.pm = &xgene_rtc_pm_ops,
|
||||
.of_match_table = of_match_ptr(xgene_rtc_of_match),
|
||||
|
|
Loading…
Reference in New Issue