.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * tsl4531.c - Support for TAOS TSL4531 ambient light sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 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 | * IIO driver for the TSL4531x family |
---|
11 | 8 | * TSL45311/TSL45313: 7-bit I2C slave address 0x39 |
---|
.. | .. |
---|
195 | 192 | if (ret < 0) |
---|
196 | 193 | return ret; |
---|
197 | 194 | |
---|
198 | | - indio_dev->dev.parent = &client->dev; |
---|
199 | 195 | indio_dev->info = &tsl4531_info; |
---|
200 | 196 | indio_dev->channels = tsl4531_channels; |
---|
201 | 197 | indio_dev->num_channels = ARRAY_SIZE(tsl4531_channels); |
---|