.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> |
---|
5 | 6 | * Copyright (c) 2015 Essensium NV |
---|
6 | 7 | * 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. |
---|
11 | 8 | * |
---|
12 | 9 | * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor |
---|
13 | 10 | * |
---|
.. | .. |
---|
20 | 17 | * i2c adapter is locked since it cannot be used by other clients. The SCL line |
---|
21 | 18 | * always has a pull-up so we do not need an extra GPIO to drive it high. If |
---|
22 | 19 | * the "wakeup" GPIO is not given, power management will be disabled. |
---|
23 | | - * |
---|
24 | 20 | */ |
---|
25 | 21 | |
---|
26 | 22 | #include <linux/err.h> |
---|
.. | .. |
---|
529 | 525 | |
---|
530 | 526 | mlx90614_wakeup(data); |
---|
531 | 527 | |
---|
532 | | - indio_dev->dev.parent = &client->dev; |
---|
533 | 528 | indio_dev->name = id->name; |
---|
534 | 529 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
535 | 530 | indio_dev->info = &mlx90614_info; |
---|