rtc-isl12022.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | rtc-isl12022.c (a47d377e22c4a896a87a18db33f26cc6d5cc9771) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * An I2C driver for the Intersil ISL 12022 4 * 5 * Author: Roman Fietze <roman.fietze@telemotive.de> 6 * 7 * Based on the Philips PCF8563 RTC 8 * by Alessandro Zummo <a.zummo@towertech.it>. --- 352 unchanged lines hidden (view full) --- 361static const struct of_device_id isl12022_dt_match[] = { 362 { .compatible = "isl,isl12022" }, /* for backward compat., don't use */ 363 { .compatible = "isil,isl12022" }, 364 { }, 365}; 366MODULE_DEVICE_TABLE(of, isl12022_dt_match); 367 368static const struct i2c_device_id isl12022_id[] = { | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * An I2C driver for the Intersil ISL 12022 4 * 5 * Author: Roman Fietze <roman.fietze@telemotive.de> 6 * 7 * Based on the Philips PCF8563 RTC 8 * by Alessandro Zummo <a.zummo@towertech.it>. --- 352 unchanged lines hidden (view full) --- 361static const struct of_device_id isl12022_dt_match[] = { 362 { .compatible = "isl,isl12022" }, /* for backward compat., don't use */ 363 { .compatible = "isil,isl12022" }, 364 { }, 365}; 366MODULE_DEVICE_TABLE(of, isl12022_dt_match); 367 368static const struct i2c_device_id isl12022_id[] = { |
369 { "isl12022", 0 }, | 369 { "isl12022" }, |
370 { } 371}; 372MODULE_DEVICE_TABLE(i2c, isl12022_id); 373 374static struct i2c_driver isl12022_driver = { 375 .driver = { 376 .name = "rtc-isl12022", 377 .of_match_table = isl12022_dt_match, 378 }, 379 .probe = isl12022_probe, 380 .id_table = isl12022_id, 381}; 382 383module_i2c_driver(isl12022_driver); 384 385MODULE_AUTHOR("roman.fietze@telemotive.de"); 386MODULE_DESCRIPTION("ISL 12022 RTC driver"); 387MODULE_LICENSE("GPL"); | 370 { } 371}; 372MODULE_DEVICE_TABLE(i2c, isl12022_id); 373 374static struct i2c_driver isl12022_driver = { 375 .driver = { 376 .name = "rtc-isl12022", 377 .of_match_table = isl12022_dt_match, 378 }, 379 .probe = isl12022_probe, 380 .id_table = isl12022_id, 381}; 382 383module_i2c_driver(isl12022_driver); 384 385MODULE_AUTHOR("roman.fietze@telemotive.de"); 386MODULE_DESCRIPTION("ISL 12022 RTC driver"); 387MODULE_LICENSE("GPL"); |