hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/iio/adc/ti-adc12138.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ADC12130/ADC12132/ADC12138 12-bit plus sign ADC driver
34 *
45 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
5
- *
6
- * This file is subject to the terms and conditions of version 2 of
7
- * the GNU General Public License. See the file COPYING in the main
8
- * directory of this archive for more details.
96 *
107 * Datasheet: http://www.ti.com/lit/ds/symlink/adc12138.pdf
118 */
....@@ -415,7 +412,6 @@
415412 init_completion(&adc->complete);
416413
417414 indio_dev->name = spi_get_device_id(spi)->name;
418
- indio_dev->dev.parent = &spi->dev;
419415 indio_dev->info = &adc12138_info;
420416 indio_dev->modes = INDIO_DIRECT_MODE;
421417