Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp297315pxt; Fri, 6 Aug 2021 02:13:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6K3RYWmYng4/ayhst5u66sh+wCkaotS4Y+poLPDZuuc2H3g0/NlnPVbHx60eOgu9AAPOA X-Received: by 2002:a05:6e02:198f:: with SMTP id g15mr257636ilf.120.1628241204636; Fri, 06 Aug 2021 02:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628241204; cv=none; d=google.com; s=arc-20160816; b=r+ZA2NAxPU7uvKeYZAGWPkLY9clxCtKbr4239S7t63Se31v/w/8MprZph4bhCwZnl5 XKJf57fkCy+8H0PYZK1qNaWmMfI66InHlz/zdovlRS+CE0WAWm8L88j71gFIQlsqakDp CtRKxeKDpEchnPjK/MGGMYIke/+FQh8p8Ntjv98L8+bkXxK1i24bZNPDny5jPMfFqUqK wOZIPTM2S8k31/LWdjJw1Y1yH5GT+fzI0G73SIusYi0QTnS3iQr+qGv6hcbwp2wcFBFh e90uB8bRuxgdEhd7iUz4/9IrbjoZ77xT5jiO46/pxIiZ315qs6RG4Nl4tDoVsDqHwXl7 wSeg== 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=XKlXLoBNlaHNDu0EOANVveZ6LtrEhJqjY1foOLxcJtw=; b=YPyLS1yG4qqUiEx4weCyM1zEOQUbmOGRYUgiA02DPkTnTUSR9b0F9RFLPgaOm8z9CY k+38H0NcPu1fc8Wwh/b6pdisemjMyop7wvI5qtS6LxV5SrAX5vHNKt7ioSTPms0cl8Jn eBoNZzQhsA3XGIKo/pvljpLSaLCa6DlkiQ6ku4QhURjnkxE/D/zodEh9orYEhUeMuxs9 nzBFHRMXPiCyRuwwVcX1hbY+r6I8FlnZkgLVan0hB1wJRiIZ+SERfUEOUzItR3Z9ziC8 rDSax90l6yxsJ6CLGW/pcv3rk1d+YCEJwMaHWKRUzeuCOpdUQa4ca1BlOKQWSNZHEJco GKvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=HEVLYXJa; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="A0h/Cr7G"; 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 s17si6206344ilo.8.2021.08.06.02.13.12; Fri, 06 Aug 2021 02:13:24 -0700 (PDT) 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=fm1 header.b=HEVLYXJa; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="A0h/Cr7G"; 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 S244187AbhHFJLn (ORCPT + 99 others); Fri, 6 Aug 2021 05:11:43 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60059 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244196AbhHFJLm (ORCPT ); Fri, 6 Aug 2021 05:11:42 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5EAD45C0069; Fri, 6 Aug 2021 05:11:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 06 Aug 2021 05:11:26 -0400 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=fm1; bh=XKlXLoBNlaHND u0EOANVveZ6LtrEhJqjY1foOLxcJtw=; b=HEVLYXJayBB0cvfNmwtGWuWycJtNG dZdpl3X+9sPCyAh5DhgZ9q/+j1N6GF3udMKW4WTMfFjy9sxpXoiHK4z9XdGij5sF 5KVcdT6T5xqHybMAdnd2OZvYCpOtnDEwh8Z9faGRdnIPudFjvMtVo4GFTJooxZnO J8smUI+PHFV+CS3aRVPG4vfjmfFljMLah2NTrW0QptBKXgSHjFWjBvyazWuakRCL r76Agb5IhAdVMbDxp+/JxdBmRYTgqf22bY3qCI/BnjSoFkJkVopCI0VvFFCFtRYZ jjAoYDSJ84Ery1fqw+6Dzm9qRbRYhPVx1efGzPnhsWzS6UM0B2bj/Q6zw== 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= fm3; bh=XKlXLoBNlaHNDu0EOANVveZ6LtrEhJqjY1foOLxcJtw=; b=A0h/Cr7G ZkaoDGN++lVBFZX7gBwVOtqwcIIp2x+kmOJQMy31X0Wq+SVyMitiDiTCLAfnwsYv z7yEifNYYOMkl9aW8xzBnYeEGSE3tKMEzO1I7/oHgbiw5uyeZabpiLWTykl9o/6e kNmeyS9pvgiX0YRk3SwZf6e+bVJPjD7hi4JyfuvVT0RE5XwdW5fcU6BgkkmLvq0p X6kqGhhn+vmYPQrovet7knaKP94ZAzcjUYUQnrdKg4DaH26n0I0P73BQUxTNRLyB /zrEndHof4SoHkqYVrXcZE2QNTxkXB+YtD62rLWA7JfdLsmxFy6Lb5uUHBmLxRtY wv6R1wlUzgCzaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjedugdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Aug 2021 05:11:21 -0400 (EDT) From: Alistair Francis To: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, Alistair Francis Subject: [PATCH v9 03/12] mfd: simple-mfd-i2c: Save the register client data Date: Fri, 6 Aug 2021 19:10:49 +1000 Message-Id: <20210806091058.141-4-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210806091058.141-1-alistair@alistair23.me> References: <20210806091058.141-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/mfd/simple-mfd-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c index 583e8c7924af..633a2b28b6cb 100644 --- a/drivers/mfd/simple-mfd-i2c.c +++ b/drivers/mfd/simple-mfd-i2c.c @@ -48,6 +48,8 @@ static int simple_mfd_i2c_probe(struct i2c_client *i2c) if (IS_ERR(regmap)) return PTR_ERR(regmap); + i2c_set_clientdata(i2c, regmap); + /* If no MFD cells are spedified, use register the DT child nodes instead */ if (!simple_mfd_data || !simple_mfd_data->mfd_cell) return devm_of_platform_populate(&i2c->dev); -- 2.31.1