rtc-rv3029c2.c (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) rtc-rv3029c2.c (31b0cecb4042d2676fd48f09379a19bc8b16eadd)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Micro Crystal RV-3029 / RV-3049 rtc class driver
4 *
5 * Author: Gregory Hermant <gregory.hermant@calao-systems.com>
6 * Michael Buesch <m@bues.ch>
7 *
8 * based on previously existing rtc class drivers

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

819};
820MODULE_DEVICE_TABLE(of, rv3029_of_match);
821
822static struct i2c_driver rv3029_driver = {
823 .driver = {
824 .name = "rv3029",
825 .of_match_table = of_match_ptr(rv3029_of_match),
826 },
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Micro Crystal RV-3029 / RV-3049 rtc class driver
4 *
5 * Author: Gregory Hermant <gregory.hermant@calao-systems.com>
6 * Michael Buesch <m@bues.ch>
7 *
8 * based on previously existing rtc class drivers

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

819};
820MODULE_DEVICE_TABLE(of, rv3029_of_match);
821
822static struct i2c_driver rv3029_driver = {
823 .driver = {
824 .name = "rv3029",
825 .of_match_table = of_match_ptr(rv3029_of_match),
826 },
827 .probe_new = rv3029_i2c_probe,
827 .probe = rv3029_i2c_probe,
828 .id_table = rv3029_id,
829};
830
831static int __init rv3029_register_driver(void)
832{
833 return i2c_add_driver(&rv3029_driver);
834}
835

--- 89 unchanged lines hidden ---
828 .id_table = rv3029_id,
829};
830
831static int __init rv3029_register_driver(void)
832{
833 return i2c_add_driver(&rv3029_driver);
834}
835

--- 89 unchanged lines hidden ---