.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Nano River Technologies viperboard IIO ADC driver |
---|
3 | 4 | * |
---|
4 | 5 | * (C) 2012 by Lemonage GmbH |
---|
5 | 6 | * Author: Lars Poeschel <poeschel@lemonage.de> |
---|
6 | 7 | * All rights reserved. |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify it |
---|
9 | | - * under the terms of the GNU General Public License as published by the |
---|
10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
11 | | - * option) any later version. |
---|
12 | | - * |
---|
13 | 8 | */ |
---|
14 | 9 | |
---|
15 | 10 | #include <linux/kernel.h> |
---|
.. | .. |
---|
126 | 121 | adc = iio_priv(indio_dev); |
---|
127 | 122 | adc->vb = vb; |
---|
128 | 123 | indio_dev->name = "viperboard adc"; |
---|
129 | | - indio_dev->dev.parent = &pdev->dev; |
---|
130 | 124 | indio_dev->info = &vprbrd_adc_iio_info; |
---|
131 | 125 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
132 | 126 | indio_dev->channels = vprbrd_adc_iio_channels; |
---|