.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2016 Golden Delicious Comp. GmbH&Co. KG |
---|
3 | 4 | * 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. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #include <linux/i2c.h> |
---|
.. | .. |
---|
122 | 119 | iio->ts = ts; |
---|
123 | 120 | |
---|
124 | 121 | indio_dev->name = "tsc2007"; |
---|
125 | | - indio_dev->dev.parent = &ts->client->dev; |
---|
126 | 122 | indio_dev->info = &tsc2007_iio_info; |
---|
127 | 123 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
128 | 124 | indio_dev->channels = tsc2007_iio_channel; |
---|