hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/iio/temperature/mlx90614.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor
34 *
45 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
56 * Copyright (c) 2015 Essensium NV
67 * Copyright (c) 2015 Melexis
7
- *
8
- * This file is subject to the terms and conditions of version 2 of
9
- * the GNU General Public License. See the file COPYING in the main
10
- * directory of this archive for more details.
118 *
129 * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor
1310 *
....@@ -20,7 +17,6 @@
2017 * i2c adapter is locked since it cannot be used by other clients. The SCL line
2118 * always has a pull-up so we do not need an extra GPIO to drive it high. If
2219 * the "wakeup" GPIO is not given, power management will be disabled.
23
- *
2420 */
2521
2622 #include <linux/err.h>
....@@ -529,7 +525,6 @@
529525
530526 mlx90614_wakeup(data);
531527
532
- indio_dev->dev.parent = &client->dev;
533528 indio_dev->name = id->name;
534529 indio_dev->modes = INDIO_DIRECT_MODE;
535530 indio_dev->info = &mlx90614_info;