| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * tmp006.c - Support for TI TMP006 IR thermopile sensor |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor |
|---|
| 11 | 8 | * |
|---|
| .. | .. |
|---|
| 219 | 216 | i2c_set_clientdata(client, indio_dev); |
|---|
| 220 | 217 | data->client = client; |
|---|
| 221 | 218 | |
|---|
| 222 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 223 | 219 | indio_dev->name = dev_name(&client->dev); |
|---|
| 224 | 220 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|
| 225 | 221 | indio_dev->info = &tmp006_info; |
|---|