forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/input/touchscreen/tsc2007_iio.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2016 Golden Delicious Comp. GmbH&Co. KG
34 * Nikolaus Schaller <hns@goldelico.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96
107 #include <linux/i2c.h>
....@@ -122,7 +119,6 @@
122119 iio->ts = ts;
123120
124121 indio_dev->name = "tsc2007";
125
- indio_dev->dev.parent = &ts->client->dev;
126122 indio_dev->info = &tsc2007_iio_info;
127123 indio_dev->modes = INDIO_DIRECT_MODE;
128124 indio_dev->channels = tsc2007_iio_channel;