forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/iio/light/apds9300.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor
34 *
45 * Copyright 2013 Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
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
118 #include <linux/module.h>
....@@ -422,7 +419,6 @@
422419
423420 mutex_init(&data->mutex);
424421
425
- indio_dev->dev.parent = &client->dev;
426422 indio_dev->channels = apds9300_channels;
427423 indio_dev->num_channels = ARRAY_SIZE(apds9300_channels);
428424 indio_dev->name = APDS9300_DRV_NAME;