rtc-rv3029c2.c (cdd5b5a9761fd66d17586e4f4ba6588c70e640ea) | rtc-rv3029c2.c (a47d377e22c4a896a87a18db33f26cc6d5cc9771) |
---|---|
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 --- 793 unchanged lines hidden (view full) --- 802 regmap = devm_regmap_init_i2c(client, &config); 803 if (IS_ERR(regmap)) 804 return PTR_ERR(regmap); 805 806 return rv3029_probe(&client->dev, regmap, client->irq, client->name); 807} 808 809static const struct i2c_device_id rv3029_id[] = { | 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 --- 793 unchanged lines hidden (view full) --- 802 regmap = devm_regmap_init_i2c(client, &config); 803 if (IS_ERR(regmap)) 804 return PTR_ERR(regmap); 805 806 return rv3029_probe(&client->dev, regmap, client->irq, client->name); 807} 808 809static const struct i2c_device_id rv3029_id[] = { |
810 { "rv3029", 0 }, 811 { "rv3029c2", 0 }, | 810 { "rv3029" }, 811 { "rv3029c2" }, |
812 { } 813}; 814MODULE_DEVICE_TABLE(i2c, rv3029_id); 815 816static const __maybe_unused struct of_device_id rv3029_of_match[] = { 817 { .compatible = "microcrystal,rv3029" }, 818 { } 819}; --- 105 unchanged lines hidden --- | 812 { } 813}; 814MODULE_DEVICE_TABLE(i2c, rv3029_id); 815 816static const __maybe_unused struct of_device_id rv3029_of_match[] = { 817 { .compatible = "microcrystal,rv3029" }, 818 { } 819}; --- 105 unchanged lines hidden --- |