From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Zzn1AVGg" 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