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 4FD47C433EF for ; Thu, 2 Dec 2021 12:10:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357820AbhLBMNU (ORCPT ); Thu, 2 Dec 2021 07:13:20 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:39893 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357744AbhLBMMA (ORCPT ); Thu, 2 Dec 2021 07:12:00 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 392D1580337; Thu, 2 Dec 2021 07:08:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 02 Dec 2021 07:08:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=gp4qntKo27gpb 4ncTJpcYD5+aSMDhGRkVYBCdPvwrYs=; b=cxT3cWkS4BBDHHStro6DyzZmBnvaw Ex6s9FadPrpBaCpP2DrvDjq/54QJtMafiRDFpjh9bDY6C9X5CQRLMzDZ3GkfliPV xDeRBT1nKw/MOST2CzpstZzLpuGPkM+Xmqligrz8OEYqF5ByRDM5fApdJ6MQx04q BC26gw6V1gRP2xJXI7XYcSgHltawbRvoToWAo4SavJevJpWRsJzPOGuYpxS2XSDz Xjb5eAs6z5sdIz/v/ovwR/jlyHEJVaudXolg1cg443W2UnFPtEEad7PeU80cFTRC ZdukK39Om+jcNmDnM4LwfztaeI6wbHo+Xgo1+pzcvSsQ9eMfroTIPoLYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=gp4qntKo27gpb4ncTJpcYD5+aSMDhGRkVYBCdPvwrYs=; b=Z9SPO82Q FtRUDOypvZPynhYZPqA7BY2yEIhbbL1KlSutQlLhXfxUV0+cIgK9Zz5DKVovohrP 25mja0XRYK+uleJICNTRSQotZaf8hCCyyMS/R5x3i+At5F6ci7MyTy0mcm9EkvHc KvkNNbpmRv5DbQaXN8WINBgJ4adrRw6rnVRv1YVpjB8sdr2Cz6pLf+2CoIt7UPRV W9M1z2Q+xKAo5BKiPeaTAfeoLnSC4VyLNpglT79ujHuz73GL5htEjwgZYub8jifa 7FQ2qgUHy7lUj87ainnmCPoVJ13CvuRE0Gl2gHEtAlPjMa9KbV9JDm+DO2wJ9TEb tMajDyYzgrGowg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieehgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Dec 2021 07:08:29 -0500 (EST) From: Alistair Francis To: kernel@pengutronix.de, robh+dt@kernel.org, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, alistair23@gmail.com, linux-hwmon@vger.kernel.org, andreas@kemnade.info, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, linux-imx@nxp.com, devicetree@vger.kernel.org, amitk@kernel.org, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v16 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Thu, 2 Dec 2021 22:07:54 +1000 Message-Id: <20211202120758.41478-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211202120758.41478-1-alistair@alistair23.me> References: <20211202120758.41478-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alistair Francis Acked-by: Mark Brown --- drivers/regulator/Kconfig | 1 - drivers/regulator/sy7636a-regulator.c | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 6be9b1c8a615..3e515a3fae73 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1199,7 +1199,6 @@ config REGULATOR_STW481X_VMMC config REGULATOR_SY7636A tristate "Silergy SY7636A voltage regulator" - depends on MFD_SY7636A help This driver supports Silergy SY3686A voltage regulator. diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c index 22fddf868e4c..29fc27c2cda0 100644 --- a/drivers/regulator/sy7636a-regulator.c +++ b/drivers/regulator/sy7636a-regulator.c @@ -7,11 +7,14 @@ // Authors: Lars Ivar Miljeteig // Alistair Francis +#include +#include +#include #include #include +#include +#include #include -#include -#include struct sy7636a_data { struct regmap *regmap; -- 2.31.1