forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/light/tsl4531.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * tsl4531.c - Support for TAOS TSL4531 ambient light sensor
34 *
45 * 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.
96 *
107 * IIO driver for the TSL4531x family
118 * TSL45311/TSL45313: 7-bit I2C slave address 0x39
....@@ -195,7 +192,6 @@
195192 if (ret < 0)
196193 return ret;
197194
198
- indio_dev->dev.parent = &client->dev;
199195 indio_dev->info = &tsl4531_info;
200196 indio_dev->channels = tsl4531_channels;
201197 indio_dev->num_channels = ARRAY_SIZE(tsl4531_channels);