88pm800.c (53279f36dccffc26ff536003fd6bb97cc21c3b82) 88pm800.c (84449216b01f9c2b4c9b1882f9d6abba07b7b7ca)
1/*
2 * Base driver for Marvell 88PM800
3 *
4 * Copyright (C) 2012 Marvell International Ltd.
5 * Haojian Zhuang <haojian.zhuang@marvell.com>
6 * Joseph(Yossi) Hanin <yhanin@marvell.com>
7 * Qiao Zhou <zhouqiao@marvell.com>
8 *

--- 562 unchanged lines hidden (view full) ---

571
572static struct i2c_driver pm800_driver = {
573 .driver = {
574 .name = "88PM80X",
575 .owner = THIS_MODULE,
576 .pm = &pm80x_pm_ops,
577 },
578 .probe = pm800_probe,
1/*
2 * Base driver for Marvell 88PM800
3 *
4 * Copyright (C) 2012 Marvell International Ltd.
5 * Haojian Zhuang <haojian.zhuang@marvell.com>
6 * Joseph(Yossi) Hanin <yhanin@marvell.com>
7 * Qiao Zhou <zhouqiao@marvell.com>
8 *

--- 562 unchanged lines hidden (view full) ---

571
572static struct i2c_driver pm800_driver = {
573 .driver = {
574 .name = "88PM80X",
575 .owner = THIS_MODULE,
576 .pm = &pm80x_pm_ops,
577 },
578 .probe = pm800_probe,
579 .remove = __devexit_p(pm800_remove),
579 .remove = pm800_remove,
580 .id_table = pm80x_id_table,
581};
582
583static int __init pm800_i2c_init(void)
584{
585 return i2c_add_driver(&pm800_driver);
586}
587subsys_initcall(pm800_i2c_init);
588
589static void __exit pm800_i2c_exit(void)
590{
591 i2c_del_driver(&pm800_driver);
592}
593module_exit(pm800_i2c_exit);
594
595MODULE_DESCRIPTION("PMIC Driver for Marvell 88PM800");
596MODULE_AUTHOR("Qiao Zhou <zhouqiao@marvell.com>");
597MODULE_LICENSE("GPL");
580 .id_table = pm80x_id_table,
581};
582
583static int __init pm800_i2c_init(void)
584{
585 return i2c_add_driver(&pm800_driver);
586}
587subsys_initcall(pm800_i2c_init);
588
589static void __exit pm800_i2c_exit(void)
590{
591 i2c_del_driver(&pm800_driver);
592}
593module_exit(pm800_i2c_exit);
594
595MODULE_DESCRIPTION("PMIC Driver for Marvell 88PM800");
596MODULE_AUTHOR("Qiao Zhou <zhouqiao@marvell.com>");
597MODULE_LICENSE("GPL");