hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
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;