Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36828768rwd; Tue, 11 Jul 2023 06:18:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlFDTu5o7DHIGNmxLXk99MBjsPZBwE6hPePEu8G20cg2RKWWLHzYq0NKsD2lvcEDTUjXPBGF X-Received: by 2002:a05:6a00:2d83:b0:67b:1f97:f897 with SMTP id fb3-20020a056a002d8300b0067b1f97f897mr15094576pfb.8.1689081501965; Tue, 11 Jul 2023 06:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689081501; cv=none; d=google.com; s=arc-20160816; b=gYsk0lZjxcJyLrb4kfEQJMueV7Ut9stBqQJoRGo3LRwrT7eeVNKHm4Z13zn5DtKSu+ Olo+HKeJ5quuaGKlBRMT9EFomhEVuDaot0wdaPfh409iKFmjs2Ad2nyFkU8wbDNSamuL YVd065bA8awCTbBdP1PZYc2L+MDDLYtWqFL5x8XxRjApFKa64eyQi9iHZHgnxfkltdcW zkJvK1Hg/38QzLp1WoLXAReaPAhQREje35V4vFAv3sw4CBnNBHq8BWGvTtIzg9aZ40p+ HC4wDpL/2gNferJwdl1EBzhL/X4n0rQFDpsVLATqyjPCkaKninyIEZxX22ZDG6GKQq3m ywzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bf/8dybG8/JiZOvg5jqTw/EYAEpXhEJ+ous/NLbzm0c=; fh=eSEBkdkeJ4OhZ7KRSNvA55206/RVLF0X9ATTUX6OhkY=; b=0Pt2ciXPtJyXA1NElJXepWljJxg41qIyAKEr73X8tHYpzVFdxnnxWItxa4M/EJR+YG A/LCkyLLe89hW+ptB2vrB9YMkd7PnDY7jpDoUGmWe4/2rTnan1meQ1w5TRoCYiqOWGx8 kGtrlrP+7/fcqAcIIseP0ScCZ5mlaSjWpMYJ3YKW60RWbrVZQKNWDilRhdu5iAbLRp8k cN06ZYaFTB2KoaMz2ybKGQ1hm9pzyaLri9rXqvjn7gPpyVyhHsI9ntqJtCNC7+1sle2t U4AFjouuk87XcMwNEgy5LzAPMcwNSa5WWGAMTH6w6mTljyetDE2cjAKJaLKDj2pDm6qp AIbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nXYGAZBm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a056a00089300b00659af029c39si1557102pfj.90.2023.07.11.06.18.07; Tue, 11 Jul 2023 06:18:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nXYGAZBm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232072AbjGKMwM (ORCPT + 99 others); Tue, 11 Jul 2023 08:52:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbjGKMwJ (ORCPT ); Tue, 11 Jul 2023 08:52:09 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BB898; Tue, 11 Jul 2023 05:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689079928; x=1720615928; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fixFH5Llqroff/AhZ015VZ+OpUUgSBQ7xNlXodB8idQ=; b=nXYGAZBmCt/q8vpk2hgdP5RxkOpR8+FWs2GpP++Xb4iPebpuW50dI6ld HDfRX3kjPZuoHIK0bhysXuedh2zVn1qePdMpdhmLGXnkzqtifn2r2mqWp FetdbMxf+0J+xg092E4vnYifUT0n/G0bNNxd8El0uHSo/uR5nGibEno3L Jmh0DoL1JhHjgCOyThsiLu+Lx5951MOmIzweA3blnVnam/XYL+VDS5W11 d77TFNBBZMuDVEn8vhLIeozSC+mGf/A0CsbpYbEWuVsf4ImS0A7BtfzGh zVehqdLyudfgZdv4w01fC+A1Q9qoiUkiVu3qCIUUXaR7zqL+C7FmjFewq g==; X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="344205663" X-IronPort-AV: E=Sophos;i="6.01,196,1684825200"; d="scan'208";a="344205663" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 05:52:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="786613329" X-IronPort-AV: E=Sophos;i="6.01,196,1684825200"; d="scan'208";a="786613329" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008.fm.intel.com with ESMTP; 11 Jul 2023 05:51:56 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qJCqO-001qnp-39; Tue, 11 Jul 2023 15:51:52 +0300 Date: Tue, 11 Jul 2023 15:51:52 +0300 From: Andy Shevchenko To: AngeloGioacchino Del Regno Cc: Mark Brown , Cristian Ciocaltea , Yang Yingliang , Amit Kumar Mahapatra via Alsa-devel , Neil Armstrong , Tharun Kumar P , Vijaya Krishna Nivarthi , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-trace-kernel@vger.kernel.org, netdev@vger.kernel.org, Sanjay R Mehta , Radu Pirea , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Tudor Ambarus , Serge Semin , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Matthias Brugger , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiko Stuebner , Palmer Dabbelt , Paul Walmsley , Orson Zhai , Baolin Wang , Chunyan Zhang , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Max Filippov , Steven Rostedt , Masami Hiramatsu , Richard Cochran Subject: Re: [PATCH v2 01/15] spi: Remove unneeded OF node NULL checks Message-ID: References: <20230710154932.68377-1-andriy.shevchenko@linux.intel.com> <20230710154932.68377-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2023 at 10:12:55AM +0200, AngeloGioacchino Del Regno wrote: > Il 10/07/23 17:49, Andy Shevchenko ha scritto: > > In the couple of places the NULL check of OF node is implied by the call > > that takes it as a parameter. Drop the respective duplicate checks. > > > > Signed-off-by: Andy Shevchenko > > Validated against spi-mt65xx, spi-mt7621, spi-mtk-nor, spi-mtk-snfi; > > Reviewed-by: AngeloGioacchino Del Regno > # MediaTek By some reason the tag is split and I'm not sure `b4` can cope with that. In any case, added manually. Thank you for the review! -- With Best Regards, Andy Shevchenko