Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 506BFC2BA4C for ; Wed, 26 Jan 2022 10:53:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240317AbiAZKxP (ORCPT ); Wed, 26 Jan 2022 05:53:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240314AbiAZKxP (ORCPT ); Wed, 26 Jan 2022 05:53:15 -0500 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D280DC06161C for ; Wed, 26 Jan 2022 02:53:14 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id DF61A20000D; Wed, 26 Jan 2022 10:53:11 +0000 (UTC) From: Miquel Raynal To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org Cc: Julien Su , Jaime Liao , Thomas Petazzoni , Boris Brezillon , Xiangsheng Hou Subject: Re: [PATCH v9 05/13] spi: spi-mem: Kill the spi_mem_dtr_supports_op() helper Date: Wed, 26 Jan 2022 11:53:11 +0100 Message-Id: <20220126105311.883004-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220104083631.40776-6-miquel.raynal@bootlin.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'095d967e6cb93e28ce19f9bd96efe4f60ecca833' Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org On Tue, 2022-01-04 at 08:36:23 UTC, Miquel Raynal wrote: > Now that spi_mem_default_supports_op() has access to the static > controller capabilities (relating to memory operations), and now that > these capabilities have been filled by the relevant controllers, there > is no need for a specific helper checking only DTR operations, so let's > just kill spi_mem_dtr_supports_op() and simply use > spi_mem_default_supports_op() instead. > > Signed-off-by: Miquel Raynal > Reviewed-by: Pratyush Yadav Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc. Miquel