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