tsys02d.c (27fd38c5226ed0f1712d071880fa8e739eb78650) | tsys02d.c (cdd469ad9e008a58ed465efa09f8594f1387e8ce) |
---|---|
1/* 2 * tsys02d.c - Support for Measurement-Specialties tsys02d temperature sensor 3 * 4 * Copyright (c) 2015 Measurement-Specialties 5 * 6 * Licensed under the GPL-2. 7 * 8 * (7-bit I2C slave address 0x40) --- 160 unchanged lines hidden (view full) --- 169 170 return devm_iio_device_register(&client->dev, indio_dev); 171} 172 173static const struct i2c_device_id tsys02d_id[] = { 174 {"tsys02d", 0}, 175 {} 176}; | 1/* 2 * tsys02d.c - Support for Measurement-Specialties tsys02d temperature sensor 3 * 4 * Copyright (c) 2015 Measurement-Specialties 5 * 6 * Licensed under the GPL-2. 7 * 8 * (7-bit I2C slave address 0x40) --- 160 unchanged lines hidden (view full) --- 169 170 return devm_iio_device_register(&client->dev, indio_dev); 171} 172 173static const struct i2c_device_id tsys02d_id[] = { 174 {"tsys02d", 0}, 175 {} 176}; |
177MODULE_DEVICE_TABLE(i2c, tsys02d_id); |
|
177 178static struct i2c_driver tsys02d_driver = { 179 .probe = tsys02d_probe, 180 .id_table = tsys02d_id, 181 .driver = { 182 .name = "tsys02d", 183 }, 184}; 185 186module_i2c_driver(tsys02d_driver); 187 188MODULE_DESCRIPTION("Measurement-Specialties tsys02d temperature driver"); 189MODULE_AUTHOR("William Markezana <william.markezana@meas-spec.com>"); 190MODULE_AUTHOR("Ludovic Tancerel <ludovic.tancerel@maplehightech.com>"); 191MODULE_LICENSE("GPL v2"); | 178 179static struct i2c_driver tsys02d_driver = { 180 .probe = tsys02d_probe, 181 .id_table = tsys02d_id, 182 .driver = { 183 .name = "tsys02d", 184 }, 185}; 186 187module_i2c_driver(tsys02d_driver); 188 189MODULE_DESCRIPTION("Measurement-Specialties tsys02d temperature driver"); 190MODULE_AUTHOR("William Markezana <william.markezana@meas-spec.com>"); 191MODULE_AUTHOR("Ludovic Tancerel <ludovic.tancerel@maplehightech.com>"); 192MODULE_LICENSE("GPL v2"); |