Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp454611pxh; Wed, 10 Nov 2021 04:33:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwSDfhIFPkP8uhtV21l1Ru/DP9FXglMBZx9cD+vOqHw7g8OuMefCa/gEJR2hpES/3zAPdA X-Received: by 2002:a05:6402:42cd:: with SMTP id i13mr21585716edc.281.1636547587881; Wed, 10 Nov 2021 04:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636547587; cv=none; d=google.com; s=arc-20160816; b=pfdWprn4T3DmGyAmORdsCQa4G2TXs2DQDU/aYD+OvOcLd89+sBh32HOkqcnkW8c+63 tqAOTnwKDsH7rCbGoHz6w/T5LNI/a4JQz1CQvLT8+oKp+OeVEa9QLeKj8vBiZsaum0dv BF0iwgRrK+UkoWUr1QWGTmlL8yBU3gRphFLfsOzhAjJBAv/Fs0Rqw3/1sYuCESZsu0qD qe/uJrNIcvX5DFD+M1KtdIPenDKxDs3iiw1ELfgxMyFE+h+VhHmxzblnh4jQW657etuy Owm3wsY86n8HtN5nw9l/1E0ErixwiDdzeWEtctugJF4MefVyTdats0JxasMO7fOwNVs5 mg4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=gYLYvrAxI3X/3c3mgOA/Ii05B95qk6fjjUUXWCEYze4=; b=XWq3/vpcKSYwoFURqNLzaCN64CPJa++Hf6Ii+zbSDnvZseRFZs/PRI15YNJALg6osL IfrLTdAzEIdt8tOPS/nKgm9YYKgzkbsqQWjaA5uUnW9FQA4+eehkjWc90Wa8+CjuNQDo mUMNSCPUGEfiDzglmx1wNyq260W9DtPnJor4MyGaq54d8Ub+Ud1ctUAmjNKSeD+Rv0YO +JnDa0bYgD6uR8Tx3zmSqaRqz/d/1wJoETE8+dHAH2MKtZkZiEg4gbjjhw7Z99lmxjJ+ 8SP2oWg5Vang1xYhHgp5+78ux+6Nt3Rik+tUL9T+eLEhf6Dr5oLRYIbp+Xowmxro14B5 dAMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=pmP0n9tC; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eE6XjD0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si45437251edx.555.2021.11.10.04.32.43; Wed, 10 Nov 2021 04:33:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=pmP0n9tC; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eE6XjD0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231761AbhKJMd0 (ORCPT + 99 others); Wed, 10 Nov 2021 07:33:26 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:40043 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231755AbhKJMdL (ORCPT ); Wed, 10 Nov 2021 07:33:11 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 2B1DA580869; Wed, 10 Nov 2021 07:30:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 10 Nov 2021 07:30:23 -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=gYLYvrAxI3X/3 c3mgOA/Ii05B95qk6fjjUUXWCEYze4=; b=pmP0n9tCtUd5+fmxb+wk4r2GCSahZ SQrrpwHfb3VmoZQ57cQB4s44KDOsWucev0maz7se0/iOJjVIipx33W42cAHKEo9B lnwT/Uh3Wfu4jsAh0Nre617VfL6nxvn4aF7kFwTLQKsot1JgbQm5zIiJGxI1PDdg e5/3gLCUWM9JzxLXrTAXDzBZsDGD8QS6/dBBHnl469V9K+55338CQCT2lHp6QQTc FhRyI14avHlAl8sS+U8mLxsN2ejvpA4QxAHeCy3umaR1lvejIVGhvj68Zjg1gJPY UPZnvhOVF1nUPmPQfzyfm9q21JHBpzhccNHf+Odpiodm0ZN3PPQ2JWsIw== 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=gYLYvrAxI3X/3c3mgOA/Ii05B95qk6fjjUUXWCEYze4=; b=eE6XjD0U Qmp6Jb9lg7cVtUSy649F7ycszzEbHpm1OviMPZQT59tAcpfTWabixqNdvxinI+sN h6W5DEXM2Mri11pEd/kWRgWz00/qjwCGHQqqmPfBgRfOCdNfqJuQSw4am1E1uRzx Inc/eeinJa08g0ixjbPgyLoeMvaLhQVE07PlhWoYVDnliWIZGYHVz3Pp2ppXJzeN v2fDpYApGlpSKSb3f8f3+dlrAXXH8FbvBcrpOfLoaVmTETArFdKXdnf/t0m5h4ir ILgfnZjj2oih24rQ+4HAfvYy0/XBrIoufAlEbISjaZdOVAlFiw3/6mg5Wmy+wrB7 JMamQRskMxCaPA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudejgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Nov 2021 07:30:17 -0500 (EST) From: Alistair Francis To: lee.jones@linaro.org, broonie@kernel.org, kernel@pengutronix.de, lgirdwood@gmail.com, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, s.hauer@pengutronix.de, linux-hwmon@vger.kernel.org, amitk@kernel.org, linux-pm@vger.kernel.org, linux-imx@nxp.com, alistair23@gmail.com, andreas@kemnade.info, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v15 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Wed, 10 Nov 2021 22:29:44 +1000 Message-Id: <20211110122948.188683-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211110122948.188683-1-alistair@alistair23.me> References: <20211110122948.188683-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 --- 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