hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/iio/temperature/tmp006.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * tmp006.c - Support for TI TMP006 IR thermopile sensor
34 *
45 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5
- *
6
- * This file is subject to the terms and conditions of version 2 of
7
- * the GNU General Public License. See the file COPYING in the main
8
- * directory of this archive for more details.
96 *
107 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor
118 *
....@@ -219,7 +216,6 @@
219216 i2c_set_clientdata(client, indio_dev);
220217 data->client = client;
221218
222
- indio_dev->dev.parent = &client->dev;
223219 indio_dev->name = dev_name(&client->dev);
224220 indio_dev->modes = INDIO_DIRECT_MODE;
225221 indio_dev->info = &tmp006_info;