Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp458162rdh; Tue, 19 Dec 2023 04:21:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLsfl+0uvg0hNFRQtw/L/Ov94xVw5KkY4tB96wiD2TBvtm5ZsLoK2ExxXmOb4HmRk4fVnR X-Received: by 2002:a05:6e02:1be5:b0:35f:b67f:830d with SMTP id y5-20020a056e021be500b0035fb67f830dmr2888118ilv.39.1702988514902; Tue, 19 Dec 2023 04:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702988514; cv=none; d=google.com; s=arc-20160816; b=irMyFkK7EFOnpJ6ZCsur2MaUsQzphskerST/EpXOuNP9m/1/4U+BH4Vaxv/Rn1fT4O vq+0VaU/2QW0ouRZ1wxXM97jh5BFr64nijpXVFmEuCG0HW7qLElZXM63VvjU8le7ipMP ci+YcxufT8i3pWDz1t+WwmtaDoBRft0UaBNpt/R/xLYrLjbWTLvARQbSPe2BHHgcB15N V7fLHCg6vO5tgl4q+LquZ1NUoEdV3J/EiD+UN9Rp0bmj0iI3tpWco2tY0/o0ABv45p2M q8MLrXdYjO/tyA0kDjriUBj+iC0RSVGmJg+kwmpQdfk15OJEcCFe3h0Gd1dAKGxhwfRv YH5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=4462tXyvX8m/dDm2VaEPF8Qf0tyEGqZeXunhv64sqpM=; fh=yEqkwGPMhwnzEos+nAMnzQ0rWRCUpAlF6qiuJdrsfBo=; b=FyR2GsxkvbHkJmu1roNE1MgEIjc73T2EFnCnN5iKAeX6uPyucbDQ1vZKPjrz5t1/CJ 95p9r9RWWA7zDKHF1qrmG/8LiZqA8wE6MAWsd7movIvp+UuuojLmDaLA13RKaR/0AAjL m88XXZE3ZIHF8gGTZZPz4wagX6WLFzmHEIC//T7wBbuuvouPxoZtlAfURznQIoq+E31X iJJ17ewUjLnV1CR5EM9GFwH/ThoyDqKoLAxLyWzJDpDZZV32tiES7bwHHXu6G3H+atsD fRNoAAPdSnbXM5EOMNWO3CKp0OgKVObFi2Dp2QsCAU1R8dAolIlVnXySiy96GVgs+59N DQKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=P1FOmpz5; spf=pass (google.com: domain of linux-kernel+bounces-5155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 23-20020a631557000000b005cd5f135dd2si8212590pgv.46.2023.12.19.04.21.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 04:21:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=P1FOmpz5; spf=pass (google.com: domain of linux-kernel+bounces-5155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 04A83B23097 for ; Tue, 19 Dec 2023 12:21:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88D8E17725; Tue, 19 Dec 2023 12:21:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=walle.cc header.i=@walle.cc header.b="P1FOmpz5" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) (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 21C62171B2 for ; Tue, 19 Dec 2023 12:21:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=walle.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=walle.cc Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 56CF83B9; Tue, 19 Dec 2023 13:21:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1702988500; 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=4462tXyvX8m/dDm2VaEPF8Qf0tyEGqZeXunhv64sqpM=; b=P1FOmpz5vI/3M+LFLI7NhYcJfJBk0SxRKkmZ90WnMTjf4ndFUmk/hog/rw+QylMEiTLWzj dYNKTV5FELNlG8iA9AqQezWXL9R9jWzJ+3rn3EzsjPP4TJW84I38hPL5uWeebaNku9/Pc+ Gzvq+jaVxThTY5ypYr+PT/kXjUOssuXgt5LZYtUbae50Ml88tQ/aV/Mdx/oAFzArVbxUSt t8VNfYcThNO5utaMcINZE2ESnmhi0vi0uQ7kz7VyLUHvpMiRFL5KD7QEsxDlWbF+Ssm04v Vb/gXBqWVXrPGu1OSnX38/hxj/4cjsBon/O1L5DVJdn234Z8l78v7E6yCPJdNg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 19 Dec 2023 13:21:40 +0100 From: Michael Walle To: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Cc: Srinivas Kandagatla , Greg Kroah-Hartman , Miquel Raynal , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Subject: Re: [PATCH v6.8 2/2] nvmem: drop nvmem_layout_get_match_data() In-Reply-To: <20231219120104.3422-2-zajec5@gmail.com> References: <20231219120104.3422-1-zajec5@gmail.com> <20231219120104.3422-2-zajec5@gmail.com> Message-ID: <040fbc414bf7404046b12dfed7a1c647@walle.cc> X-Sender: michael@walle.cc Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > From: Rafał Miłecki > > Thanks for layouts refactoring we now have "struct device" associated > with layout. Also its OF pointer points directly to the "nvmem-layout" > DT node. > > All it takes to get match data is a generic of_device_get_match_data(). Isn't device_get_match_data() preferred? > Signed-off-by: Rafał Miłecki Reviewed-by: Michael Walle -michael