.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * adjd_s311.c - Support for ADJD-S311-CR999 digital color sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2012 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 ADJD-S311-CR999 digital color sensor (10-bit channels for |
---|
11 | 8 | * red, green, blue, clear); 7-bit I2C slave address 0x74 |
---|
.. | .. |
---|
262 | 259 | i2c_set_clientdata(client, indio_dev); |
---|
263 | 260 | data->client = client; |
---|
264 | 261 | |
---|
265 | | - indio_dev->dev.parent = &client->dev; |
---|
266 | 262 | indio_dev->info = &adjd_s311_info; |
---|
267 | 263 | indio_dev->name = ADJD_S311_DRV_NAME; |
---|
268 | 264 | indio_dev->channels = adjd_s311_channels; |
---|