Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp475539rdh; Tue, 19 Dec 2023 04:56:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+Igc2afXC8KZ4rJjRRqwckga47a0CQreFx7WhHJKRLyT49Yu+bNVsQmp1d88c9wQ27Q1S X-Received: by 2002:a17:902:be04:b0:1d0:965f:b003 with SMTP id r4-20020a170902be0400b001d0965fb003mr8133388pls.67.1702990588789; Tue, 19 Dec 2023 04:56:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702990588; cv=none; d=google.com; s=arc-20160816; b=tb1A0Ul1Zs2d64dAeidBwOd6Vxku6NjqODocly0OCne/C1TGS6mLs49szjoU8t1Frn mzOHhpdyB40iOXtOUSKC+8NyF+s+l/KiINsslsp7fA9dkWyBXczMKKytZEcEq7NJtLSD Lr22SIWUOcvtGyZDOk9Yj332DQoa1r7Smh25k3CKEyXJ9eiWp2ULUhuDwMiYSrqx08z0 YNN9tBuK0GdDtEGFMBBadrmuWy6XKsUBq+KCWkdw62PpBQQt/7LBBIHAfYTdy/OIXy8L 8v0kTRjN0NGMbMHXUsUUZf8Ij0Do+0+q3soNX4kxnuf60Mu4vSoZTabFZhQo9oF9wR6f ZoUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=hfihV3HBWwPmuo9TrablG1cbbK4ITqKhYvZMqM/qu5U=; fh=R+XHeJV11UNUPnckx7rWezlQul7eB6Tra6R/bN4x1RQ=; b=hLo4p8vCSo3cgKzex7phEa7Mbt4vmW3yrZXA/a7woUkx/pcTjodgEk8/tjgXPRkF01 75nxm4HXwacH/No39WR9Xabqcx0Ml/NRvgm6CsbtbnmnL1SNjDkOgs+AVwPhHj90DQGT msYVQcM7OPmRrddZtUKwW6reO5MV0AqGzQiQ4nh000PKxcduBe3pKPL2yAulRHjnBG0c 7reITvZ9z2DlfU71T6iJy1xPlE+ZgYDnS6a0Qe4p1E7bIZ/E6NDMMiU7LpIHfwEboCXa IdxGUOV7ohNXMMFWY9TPuILHckddZvkBlS3d+tL+LNLBLlyDlMrc19GNxlBxGGe1852I ecKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zzn1AVGg; spf=pass (google.com: domain of linux-kernel+bounces-5218-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m9-20020a170902768900b001d3c3b750f7si2802406pll.332.2023.12.19.04.56.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 04:56:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5218-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zzn1AVGg; spf=pass (google.com: domain of linux-kernel+bounces-5218-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 76C9F28D757 for ; Tue, 19 Dec 2023 12:56:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAA9418EC1; Tue, 19 Dec 2023 12:56:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Zzn1AVGg" X-Original-To: linux-kernel@vger.kernel.org Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01B7F18E36 for ; Tue, 19 Dec 2023 12:56:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id B05331C0002; Tue, 19 Dec 2023 12:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702990575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hfihV3HBWwPmuo9TrablG1cbbK4ITqKhYvZMqM/qu5U=; b=Zzn1AVGguZ3meU4seI1CzCwf2MQp2aupVvxMymiPTRC4z+QjszmSf7uJBr7aVjxNfLV+be /fk9reA8Bof/j0BGaeCImI/6gjEDWHFns5Y27/HJefdlDDv8dpSHe4bgK3H/UjAB6YLy5F U/oQ+Z3+GsOEYkhaysb8hztxdO/XtKt+38tpXKffPvcgrS+R1UAvPEZ+V4W7O+iFb3HfGo TVZyIW7dbdiXlqtMbCDuehuj8yH8/3hClf0t9LGNxXj46rcCrkeKFZZq9eI6DAAQX2ctvU TDEzgAuAxqAw4iMTvuNFxhBrF6wjQgHWw53yqCcKjI36LztsuYfEqfcebPh75A== Date: Tue, 19 Dec 2023 13:56:14 +0100 From: Miquel Raynal To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Srinivas Kandagatla , Greg Kroah-Hartman , Michael Walle , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH v6.8 2/2] nvmem: drop nvmem_layout_get_match_data() Message-ID: <20231219135614.57fd14f3@xps-13> In-Reply-To: <20231219120104.3422-2-zajec5@gmail.com> References: <20231219120104.3422-1-zajec5@gmail.com> <20231219120104.3422-2-zajec5@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Rafa=C5=82, zajec5@gmail.com wrote on Tue, 19 Dec 2023 13:01:04 +0100: > From: Rafa=C5=82 Mi=C5=82ecki >=20 > Thanks for layouts refactoring we now have "struct device" associated > with layout. Also its OF pointer points directly to the "nvmem-layout" > DT node. >=20 > All it takes to get match data is a generic of_device_get_match_data(). >=20 > Signed-off-by: Rafa=C5=82 Mi=C5=82ecki Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l