forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/light/pa12203001.c
....@@ -1,11 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2015 Intel Corporation
34 *
45 * Driver for TXC PA12203001 Proximity and Ambient Light Sensor.
56 *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License version 2 as published by
8
- * the Free Software Foundation.
97 * To do: Interrupt support.
108 */
119
....@@ -364,7 +362,6 @@
364362
365363 mutex_init(&data->lock);
366364
367
- indio_dev->dev.parent = &client->dev;
368365 indio_dev->info = &pa12203001_info;
369366 indio_dev->name = PA12203001_DRIVER_NAME;
370367 indio_dev->channels = pa12203001_channels;