forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 244b2c5ca8b14627e4a17755e5922221e121c771
kernel/drivers/iio/light/tcs3472.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * tcs3472.c - Support for TAOS TCS3472 color light-to-digital converter
34 *
45 * 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.
96 *
107 * Color light sensor with 16-bit channels for red, green, blue, clear);
118 * 7-bit I2C slave address 0x39 (TCS34721, TCS34723) or 0x29 (TCS34725,
....@@ -461,7 +458,6 @@
461458 data->client = client;
462459 mutex_init(&data->lock);
463460
464
- indio_dev->dev.parent = &client->dev;
465461 indio_dev->info = &tcs3472_info;
466462 indio_dev->name = TCS3472_DRV_NAME;
467463 indio_dev->channels = tcs3472_channels;