forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/adc/ep93xx_adc.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs
34 *
45 * Copyright (C) 2015 Alexander Sverdlin
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * The driver uses polling to get the conversion status. According to EP93xx
118 * datasheets, reading ADCResult register starts the conversion, but user is also
....@@ -173,7 +170,6 @@
173170 return PTR_ERR(priv->base);
174171 }
175172
176
- iiodev->dev.parent = &pdev->dev;
177173 iiodev->name = dev_name(&pdev->dev);
178174 iiodev->modes = INDIO_DIRECT_MODE;
179175 iiodev->info = &ep93xx_adc_info;