| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * tsys02d.c - Support for Measurement-Specialties tsys02d temperature sensor |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2015 Measurement-Specialties |
|---|
| 5 | | - * |
|---|
| 6 | | - * Licensed under the GPL-2. |
|---|
| 7 | 6 | * |
|---|
| 8 | 7 | * (7-bit I2C slave address 0x40) |
|---|
| 9 | 8 | * |
|---|
| .. | .. |
|---|
| 150 | 149 | |
|---|
| 151 | 150 | indio_dev->info = &tsys02d_info; |
|---|
| 152 | 151 | indio_dev->name = id->name; |
|---|
| 153 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 154 | 152 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|
| 155 | 153 | indio_dev->channels = tsys02d_channels; |
|---|
| 156 | 154 | indio_dev->num_channels = ARRAY_SIZE(tsys02d_channels); |
|---|