From patchwork Sat Feb 10 16:40:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 199276 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1554969dyd; Sat, 10 Feb 2024 08:42:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4GjJ2Zp8pw0wiGLY8aIH0afjqn7pGk3RI8WCupoi5XarMnZSbJhyfbJqk9SQGqJVqdSyy X-Received: by 2002:a05:6a21:3a41:b0:19e:bc68:3c72 with SMTP id zu1-20020a056a213a4100b0019ebc683c72mr3111935pzb.28.1707583366884; Sat, 10 Feb 2024 08:42:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707583366; cv=pass; d=google.com; s=arc-20160816; b=vDaXpHtLC1A5q4fqiWILZXKg17pdXgF94p/Hz67JHhXk3C8YKwJyNRje3jD99O5EWU H4MgPuoIP5zeVhuepEVcxyq8HOxndCCXCHiFdXVQnrmgjpavm7JaaBFxn3n8m+l7Fu5n lgIEcLXkHedwcPaDB1+vI2Mj7U8b+yq8QLQprXKBf1AaSLaCf7lEyIx7vj2ofLYhWxQu nIeGfB8ripYZojtna8VGftSmL1aQNEYWIGfucMzXBrUghHB3qp20blaF2Bf2tEU7rkp4 aNvH1XWeYk36nInlUYB0iSSxZ+y56OXeGsuLrLrNgpYPH0XzxW7sk2muurgqRfGK9qGG CO+Q== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=KF9EF96fuLA0NqLkLS59ulOFueUlOw37y8H+GMZoFGA=; fh=RXUdqQkL0blVnKvcRELaTw0rT+KA0scOlYvSMtny9Jw=; b=WqR2yQFiW1B9/4cqRytL8eGgK441eZqBsOlRJo355Q414JnqXwJfJvcvVJIG+gCkOY OxFQM+70ha3MxPt8peGxgS+sl7vpoP46S189dNib+nK7vWGumBXmENAoxQEpZsvoBHDs 5e/Dy2zi6I/v/uKa5H18YQZEL93XylBfEwsDCwbDNFwKuaD4nxhbM5LvxUxT5Ryrx1F7 wtD6r+8JuzIkhyt+uuHRXXjSYobmTv5pHpohs3rwH9tcf1o8MrAYN1h8qZoQ6QONT0AJ Qjs7rYWDHc5LdvqsKGUyttBubT02wcGjQgFTRQ5ywJE49h1u6pFZh6dxHuyqv5yN8iZs whLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60469-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60469-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVomHwZ+bdngHAPPcOvfiSCKs2WUIgeCD04+Q/mWQeJpOleT3Jj+iLhsRAk/iogbaOVRcEuxmnHCWpTcHj8ZdJkBL1Syg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id dr14-20020a056a020fce00b005cde3cc04c5si3646088pgb.821.2024.02.10.08.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 08:42:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60469-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60469-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60469-ouuuleilei=gmail.com@vger.kernel.org" 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 0D5F128611E for ; Sat, 10 Feb 2024 16:41:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC78F5D47B; Sat, 10 Feb 2024 16:40:54 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 B6C135C8ED for ; Sat, 10 Feb 2024 16:40:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583253; cv=none; b=IjcVBUtzJyxILY3DebAIsVH2JJJSRuM36FzjDnGz2Tphiu/9MB5bJCCsHmKMxHu5mTQwaxLenJJwT4BYKukKaoCxhVt0JzYlZLbepSOsu04bVgbjopamaMUAoZ82Nsw6mdMw7n4ZbPQK/HPfF2inCBP++z7Fo1x7da5I+gi52Kg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583253; c=relaxed/simple; bh=zxnkSjU8zgg5ZUmhJtmpcwisYsjJs7ecC4KVxXBlVv0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=vAPzfjhg6340oO/cih5InOncphINARfv+YhecXfdjVok8yTgtjXQIwJZuW+ELVT0CiTC+Lou/b/BJWXqwBoZno2mSueZWRmDH7cbH+1wL89SEnLbM6pDf2I5atK6J5CAKUMpIqUu00q0Mj+1d2AN7epP+/KOaQvEMGui7GMW1k4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rYqOs-0001I9-Pk; Sat, 10 Feb 2024 17:40:22 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rYqOq-005i47-L7; Sat, 10 Feb 2024 17:40:20 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rYqOq-002ER7-1p; Sat, 10 Feb 2024 17:40:20 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Mark Brown Cc: kernel@pengutronix.de, Rob Herring , H Hartley Sweeten , Jonathan Cameron , Stephen Warren , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] spi: ppc4xx: Fix fallout from include cleanup Date: Sat, 10 Feb 2024 17:40:06 +0100 Message-ID: <20240210164006.208149-6-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> References: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=846; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=zxnkSjU8zgg5ZUmhJtmpcwisYsjJs7ecC4KVxXBlVv0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlx6bne49I0C7mT2sVPnGiyLzjcN+/ccr00u0TY K8GCKbq1XKJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZcem5wAKCRCPgPtYfRL+ TrdaB/4rSPzpBWOEz6E+zsmujs4yigrklb06Mhmpmd2UGYGCicl0nJvdDPvmqm/zCC0offJN/Qo zWR7v9EmBqoLM5e/nmWWGOwl01qVp75ZMJ7ialpK6QwuPUMjyeqk2ep3CJLHosr5DwNQ1H8gaDU DQqCZmnW7/CBSwIeX0aFNj8BSPYJInkqOSJSMqW1jbAmd1oeqPYWhRCGTJ0GauFaKu1j/tN9XND f17x7EXQuI7/b4tk/uz+ZKykixoJXG7vLkGCS0NQX5b4rNzvk73sm3iXIgI4s4yNjMC/3zCpiOU d5UjhhA+V5LPHjD71G/eDAzi6zIBVz5XK5tQPt+7aQXdV7Wm X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790530936719562165 X-GMAIL-MSGID: 1790530936719562165 The driver uses several symbols declared in , e.g module_platform_driver(). Include this header explicitly now that doesn't include any more. Fixes: ef175b29a242 ("of: Stop circularly including of_device.h and of_platform.h") Signed-off-by: Uwe Kleine-König --- drivers/spi/spi-ppc4xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 412d6e678224..2290b40459ef 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include From patchwork Sat Feb 10 16:40:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 199277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1555022dyd; Sat, 10 Feb 2024 08:42:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV9mf5oPSCnp1iNEQOy6H0pAsXUuUL8COEdegvp5a8M3VtWx5lZuVd4u7IEomFZos8J1tn57VKSQJMiA3onnkbtwTrxpQ== X-Google-Smtp-Source: AGHT+IEVGXstfauGuWdffqcEkm33Dv+gWzD5bvHuzknEYGCfnQkuYw7fDleXRRGnE5cNbBkT4kNM X-Received: by 2002:a05:6870:1f85:b0:203:ef0f:7042 with SMTP id go5-20020a0568701f8500b00203ef0f7042mr3544350oac.21.1707583372897; Sat, 10 Feb 2024 08:42:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707583372; cv=pass; d=google.com; s=arc-20160816; b=auWJVk1TaQL9skD8X8Hx7UlNA3Nl3VtznZykwODuyLxc4FA9WgFvnGCx7aDf4LYfbc eMySRWK9UuKzl1oQdm09fAdw/Jgxer8UTGsujmqqnP89oT4EkbMHT4Vdabxzki8AlxR7 Nds07MYXVoohVb/Ulc9WRUAV6QImyFW4+Jc1Ecu1dOS5WvUQ8gdH53Z7ckYDpKyHws2B g+pQ/wTmjo9hghfCKUO/rhQ50p9EJhV4bO2QNHx0CqUDzuhsemrqY5G+SBiemW7J8R0n TPhuhpq+c0WKBIpt8C+m1XQtROY9gkgvUIF97RzWUo4OYhkpTbhsmgSZvWFGMfGIYnRU Nmrw== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=mywrBZpGqUo3NazXciVUBiqpSjELKBtHutpWDP+msgM=; fh=Un3ledUhGvm1ePetb9/m0Bq7OXfzfk9X5NRkj/zoCAQ=; b=HyakAZ7TIGUT90Anx+FQVm3C1yfF6QYBH2cAsbcOb1KiFi7Wturpno/YZVqcUGdAaK 5PwPB2bcGgepipoSx0DeACIjw3vjhKSozkFiIUHufuwA61GPQn3NYgGX6VX1YP6y4vwC JjgmJzN5ksUcKlR+fK9RWvTyTflLZWwvbxrwJsWlWaKSr8yr8E8FaF1qNPJwgcW9VQQQ SeGcZ7N1cvyjYvifKgOleK/8WxTpl2H/HAIil0ei5mBJfxrnmSu6H7yGQhZV2F4f487c NhBSjfOsEtk+KGaCwEm1ZVA7iU77oB1rR1jMG3q8b4zso7TeURzZvFo6YBitL/WO/cb9 MtnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60471-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60471-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXygGor0PR0CND20q7O5zJFWp2K6/fOwPLaOaVn6nydUpFWezMhBm1KWNsiQDpzzIRPJE94dLs9FjYHL2wpW+Xg7WR9Ew== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bn3-20020a056a02030300b005d836839e56si3849800pgb.317.2024.02.10.08.42.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 08:42:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60471-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60471-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60471-ouuuleilei=gmail.com@vger.kernel.org" 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 B8FC52863DB for ; Sat, 10 Feb 2024 16:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 186025D738; Sat, 10 Feb 2024 16:40:56 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 B6B9E5C8E9 for ; Sat, 10 Feb 2024 16:40:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583254; cv=none; b=ZqysewzqQqZsWivv5joxfGUtt37S1Ri129IAJuSDigzGKhLQhPSm4Q8e7pkaDpQDSth/ikmaaKJizAgRGo09bctWhILoAr+JhxpcTckPtP2IV12itEzK5B3EvtxmHKLuekrDorNzLbAX7BWXFhEnNWO1HvXc5Ct4O2F3VgU6IYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583254; c=relaxed/simple; bh=CscG4XnYZ8gB9jKhA67cDKdK7kHCrNVWFAz8jn8AnuU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YTz0el4Rq+Z8+UK7/dJJNcCc97eTxQaMgU2QXFxVDCr9snKWXNksIUHcoMrjuJggLtPAXrdvdfUAPQ6DGkOBYXEW3uZR25LFyaGitjMwxe72Bv+CMT2WWFP7GDxLsOEIX5JnqAhZ8fDzAmdGSnyYv/e8bIVHZMQJdNyOH5vh2zI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rYqOt-0001IA-CA; Sat, 10 Feb 2024 17:40:23 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rYqOq-005i4A-RJ; Sat, 10 Feb 2024 17:40:20 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rYqOq-002ERB-2S; Sat, 10 Feb 2024 17:40:20 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Mark Brown Cc: kernel@pengutronix.de, Rob Herring , H Hartley Sweeten , Jonathan Cameron , Stephen Warren , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: [PATCH 2/3] spi: ppc4xx: Fix fallout from rename in struct spi_bitbang Date: Sat, 10 Feb 2024 17:40:07 +0100 Message-ID: <20240210164006.208149-7-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> References: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1827; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=CscG4XnYZ8gB9jKhA67cDKdK7kHCrNVWFAz8jn8AnuU=; b=owGbwMvMwMXY3/A7olbonx/jabUkhtTjy15sdrJY9F8jIO+Kaaan0NOrB2xWBTr4/95UcFTOh JfFZt+5TkZjFgZGLgZZMUUW+8Y1mVZVcpGda/9dhhnEygQyhYGLUwAm0v2P/X/MGgUFI9ZodhFJ fU2vSK+abYtF5jtV+9/5f7bMWWXXht99awwil9p0hPjNqKxiUMnn4L/mKDA34Mn3NP8g+17Pu71 lWzZsFOCOj9sr+nHS2euG+WLO+qHeXz4Wx9SLyT1SSVt3QlS32k3/p49a7+xZr+8v5mjillqmeC znvMW/dlbtyJV1yT3yz7gyZrx9x1YSyP49t2SBgMx3E+aqXQ93CxW+ut6zLv3XrNMdpVKNzmev9 YpmXOk38d59Y8OrS5Enn8krHLLocj+0Y/d5sbt/21exnnlqeNz35YtDbVIMLm/aZuxuOnN/AUek Plf6lZ/uMhbi6z2DHC5rZhiruiyc9srR6LaNHrcdX0YKAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790530942946249192 X-GMAIL-MSGID: 1790530942946249192 I failed to adapt this driver because it's not enabled in a powerpc allmodconfig build and also wasn't hit by my grep expertise. Fix accordingly. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402100815.XQXw9XCF-lkp@intel.com/ Fixes: 2259233110d9 ("spi: bitbang: Follow renaming of SPI "master" to "controller"") Signed-off-by: Uwe Kleine-König --- drivers/spi/spi-ppc4xx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 2290b40459ef..2d5536efa9f8 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -364,22 +364,22 @@ static int spi_ppc4xx_of_probe(struct platform_device *op) /* Setup the state for the bitbang driver */ bbp = &hw->bitbang; - bbp->master = hw->host; + bbp->ctlr = hw->host; bbp->setup_transfer = spi_ppc4xx_setupxfer; bbp->txrx_bufs = spi_ppc4xx_txrx; bbp->use_dma = 0; - bbp->master->setup = spi_ppc4xx_setup; - bbp->master->cleanup = spi_ppc4xx_cleanup; - bbp->master->bits_per_word_mask = SPI_BPW_MASK(8); - bbp->master->use_gpio_descriptors = true; + bbp->ctlr->setup = spi_ppc4xx_setup; + bbp->ctlr->cleanup = spi_ppc4xx_cleanup; + bbp->ctlr->bits_per_word_mask = SPI_BPW_MASK(8); + bbp->ctlr->use_gpio_descriptors = true; /* * The SPI core will count the number of GPIO descriptors to figure * out the number of chip selects available on the platform. */ - bbp->master->num_chipselect = 0; + bbp->ctlr->num_chipselect = 0; /* the spi->mode bits understood by this driver: */ - bbp->master->mode_bits = + bbp->ctlr->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; /* Get the clock for the OPB */ From patchwork Sat Feb 10 16:40:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 199275 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1554962dyd; Sat, 10 Feb 2024 08:42:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFR7KrRr5/2UcTqCdVQptu4w85V2hg3sowANq7FuUQ9D6EL6gdASd4IRi3ySwsUt6+c3bC X-Received: by 2002:a17:903:24c:b0:1da:1559:cdc6 with SMTP id j12-20020a170903024c00b001da1559cdc6mr2674576plh.44.1707583365021; Sat, 10 Feb 2024 08:42:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707583365; cv=pass; d=google.com; s=arc-20160816; b=QpijdXaF376GFEsCDpSEReEkaYEc67xchz+a52JSZWUOq4IbzdO+tJcnC5G2kfwxZV HvutW2/6HJ4AxoWzsUwcId7ZIKzzJSL+Sr5af+OXyjqij7SKVA2D3n++PzyrngD8ro8X 08zkPUFkNQpnZhoidXLsfGX2799nBB67KC+Zfk5mBNYPdVTGzYI0g5Ry4WMvwtTkEv8S Ja5HgprtuDd/E/xFvVYZMd9Ms1vEBrAp5kVBImfIa9ZuIOrqSvQi7OcZUdzm3YTMwugp /XbNpgOfdHBgwIt0C+1r4xKiEyKHx7MIM5c8WKqPH7pEbYqYxK86/S4lCiWYS9DpzVTb d80g== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=VP0QH7fID5VJz0qTjB5dfkpcbtptVyKbn0KyIphmKmM=; fh=bpCME6XVkO9G8vTZ1cxKR8e64WpWSQS+CKP08CDEMAg=; b=uvjJM7GVIr2Sm+5sufC4NbuMgwspOU/eHxH6ttQ0ZW5OoKvxY4Q/7zF8vHRIkiKWOG 1IfrhrIbq+zTOKRjjnbVC62849Pz7eOxZAc+pk8VCSnDcA92V2+Z5hTsOmr5f4t1EOIl WAzwhxWRc30bMUQAsssGOw/ulb+0ACq6xCbstHNOhfxry5nFsqlfp1EnKPu4CqrODeee PFaiCmMGqsZJLO1D95JxfoxYnRE2PhrGtr0DF5e3DVSNWDeiS14Hpr9C6sm23Hy2oj9U McrAXZMYcfZEa7u/VdQQQMOj0BFZxpwHuTss84CyGYarksLSa59OHJiLFAYy4rY+CocI vuAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60468-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60468-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVsWRJSMKGe7ZEVcM9k8d3Mr9Y7Cf7flQ73WegrKTZ4/qHmS+8qJfLpJfm+p0B43raKoougo1fJ7jqr+lvulxa7crXMLg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g1-20020a170902c38100b001d7204a84ddsi3505927plg.499.2024.02.10.08.42.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 08:42:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60468-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-60468-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60468-ouuuleilei=gmail.com@vger.kernel.org" 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 216A5286027 for ; Sat, 10 Feb 2024 16:41:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4D385D46A; Sat, 10 Feb 2024 16:40:54 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 91B525C8E8 for ; Sat, 10 Feb 2024 16:40:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583253; cv=none; b=g/ZuRdVzAcOtc3N8eBGQCJhzI4VL5MFKbkmn/cWysUxen+Mt24KYQIlDpE4iSrC2ST45EGeFClhhtnawGR9MJr1CbkdmaIusjiNgynkUz9hrx3SilE+MU4xNAyrpjDVb0YieLsgzIjh0o9JSpXM+NJRYhiimi/VAdot5vYwW+9A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707583253; c=relaxed/simple; bh=10BznG4/Q7I4p/NCADVIk4BSO8uNoZg982rmmdanDP0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BG28HT9/CD+lIEj0RIbMEJxczytkGdSl02IflvoGRZ1X8NwsgJZigkhRu6mDn5BKIATLU1vLeruGFL5CYg/5wpIxCLRkVYvCZYb/fEtPdzN5whk9l54jD1LCYMsSrzoHyaA88fuc2HgBZI4rUfuOIi5mn1iR41brEreljbVE6+c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rYqOs-0001IB-Pk; Sat, 10 Feb 2024 17:40:22 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rYqOr-005i4D-24; Sat, 10 Feb 2024 17:40:21 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rYqOq-002ERK-39; Sat, 10 Feb 2024 17:40:20 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Mark Brown Cc: kernel@pengutronix.de, Rob Herring , H Hartley Sweeten , Jonathan Cameron , Stephen Warren , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] spi: ppc4xx: Drop write-only variable Date: Sat, 10 Feb 2024 17:40:08 +0100 Message-ID: <20240210164006.208149-8-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> References: <20240210164006.208149-5-u.kleine-koenig@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1352; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=10BznG4/Q7I4p/NCADVIk4BSO8uNoZg982rmmdanDP0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlx6bqu4OIok6KAOl5u5CmjU5gQ1LXdKCj/lzYj wmW21P1rXyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZcem6gAKCRCPgPtYfRL+ TiX/B/0cEuFK96ul4c/xZ283WZaBg1+kQ8qA0NWUk4lAxw8d7kjNPCAPuFc2sjFLD9zCleMGM/n /hhyCohFXxk4PAXOjzGKr+6x1odZwO3MbpAOrbFeKgx8F/WrVqyYiNMOwvtSmdkpZm96prEfnKi fhymfBMG1uicbzKhb6HVDfopsENqmDPsyotwUZoAulJAc9KyrQUGL/eYyxzWymRSC+pqhnZvzU0 b1eP0z8Kj+yw6t2kY5Tp5HkNnN0iOpKD0Xf1usiJyWnzr6Qw0meRbf82NNoxrOXm7hc0aj9VGI6 qVJ72xnijJQTyl8c5n0MJcUDDla22i2eXV3LjVcdoQApBZ9L X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790530934299759256 X-GMAIL-MSGID: 1790530934299759256 Since commit 24778be20f87 ("spi: convert drivers to use bits_per_word_mask") the bits_per_word variable is only written to. The check that was there before isn't needed any more as the spi core ensures that only 8 bit transfers are used, so the variable can go away together with all assignments to it. Fixes: 24778be20f87 ("spi: convert drivers to use bits_per_word_mask") Signed-off-by: Uwe Kleine-König --- drivers/spi/spi-ppc4xx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 2d5536efa9f8..942c3117ab3a 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -168,10 +168,8 @@ static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer *t) int scr; u8 cdm = 0; u32 speed; - u8 bits_per_word; /* Start with the generic configuration for this device. */ - bits_per_word = spi->bits_per_word; speed = spi->max_speed_hz; /* @@ -179,9 +177,6 @@ static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer *t) * the transfer to overwrite the generic configuration with zeros. */ if (t) { - if (t->bits_per_word) - bits_per_word = t->bits_per_word; - if (t->speed_hz) speed = min(t->speed_hz, spi->max_speed_hz); }