forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/iio/adc/ltc2471.c
....@@ -1,11 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Driver for Linear Technology LTC2471 and LTC2473 voltage monitors
34 * The LTC2473 is identical to the 2471, but reports a differential signal.
45 *
56 * Copyright (C) 2017 Topic Embedded Products
67 * Author: Mike Looijmans <mike.looijmans@topic.nl>
7
- *
8
- * License: GPLv2
98 */
109
1110 #include <linux/err.h>
....@@ -117,7 +116,6 @@
117116 data = iio_priv(indio_dev);
118117 data->client = client;
119118
120
- indio_dev->dev.parent = &client->dev;
121119 indio_dev->name = id->name;
122120 indio_dev->info = &ltc2471_info;
123121 indio_dev->modes = INDIO_DIRECT_MODE;