From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 16 Oct 2024 01:20:19 +0000 Subject: [PATCH] 修改GPIO导出默认初始值 --- kernel/drivers/iio/adc/ep93xx_adc.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/iio/adc/ep93xx_adc.c b/kernel/drivers/iio/adc/ep93xx_adc.c index 5036c39..c08ab3c 100644 --- a/kernel/drivers/iio/adc/ep93xx_adc.c +++ b/kernel/drivers/iio/adc/ep93xx_adc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs * * Copyright (C) 2015 Alexander Sverdlin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. * * The driver uses polling to get the conversion status. According to EP93xx * datasheets, reading ADCResult register starts the conversion, but user is also @@ -173,7 +170,6 @@ return PTR_ERR(priv->base); } - iiodev->dev.parent = &pdev->dev; iiodev->name = dev_name(&pdev->dev); iiodev->modes = INDIO_DIRECT_MODE; iiodev->info = &ep93xx_adc_info; -- Gitblit v1.6.2