From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C7BCC433EF for ; Sun, 5 Dec 2021 16:57:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236081AbhLERA2 (ORCPT ); Sun, 5 Dec 2021 12:00:28 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:38146 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236074AbhLERA2 (ORCPT ); Sun, 5 Dec 2021 12:00:28 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 43A8E61115 for ; Sun, 5 Dec 2021 16:57:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67831C341C4; Sun, 5 Dec 2021 16:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638723420; bh=HGbGuowxETAg7lXTStsCmbJfdS9io80uosZB8kA8qak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cwfs7qE4yxI5PQ2gpkWrtknZVxHafcMOGZ1WQ66vfU6IkVEm7StO37Q9klvxAUCec xwWz/O8EA0pSPRQdBNzh2wZTt/18yyW7C2k5eGSAqfQ85cbwgB39drv9CPBA1my1ZW npzvrxBSHj/acEXFy/uhF0imOvkQYubKwlIuMNCylIzJ9JC8NMR+34hN9XDQDBKW8h xN4AtS3qrenuEfLYS2PjZ1K5AHSPON1LLZWnCTRzy421oij4X8RFuUzaFqew9aKSPH cqEYpy33gi7AcEyGF0EaJV9dPOYCihrWRXm0Mu/EUJI230GF2iTT1rKEo05fE+uDhU slLwOwKsyuqFg== From: Jonathan Cameron To: Lars-Peter Clausen , linux-iio@vger.kernel.org Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH v3 11/12] iio:adc:ti-ads124s08: Drop dependency on OF. Date: Sun, 5 Dec 2021 17:01:39 +0000 Message-Id: <20211205170140.2783914-12-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211205170140.2783914-1-jic23@kernel.org> References: <20211205170140.2783914-1-jic23@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Nothing in this driver depends on OF firmware so drop the dependency and update the headers to remove the false impression such a dependency exists. Signed-off-by: Jonathan Cameron Reviewed-by: Andy Shevchenko --- drivers/iio/adc/Kconfig | 2 +- drivers/iio/adc/ti-ads124s08.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 8bf5b62a73f4..9b0b99bc826c 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1166,7 +1166,7 @@ config TI_ADS8688 config TI_ADS124S08 tristate "Texas Instruments ADS124S08" - depends on SPI && OF + depends on SPI help If you say yes here you get support for Texas Instruments ADS124S08 and ADS124S06 ADC chips diff --git a/drivers/iio/adc/ti-ads124s08.c b/drivers/iio/adc/ti-ads124s08.c index 17d0da5877a9..767b3b634809 100644 --- a/drivers/iio/adc/ti-ads124s08.c +++ b/drivers/iio/adc/ti-ads124s08.c @@ -8,8 +8,7 @@ #include #include #include -#include -#include +#include #include #include -- 2.34.1