From patchwork Wed Apr 3 17:06:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13616524 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB8FCCD1288 for ; Wed, 3 Apr 2024 17:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bCIJuQ40l4hSgkfBnV3VKdKGWsPKkwRumz75jSEMWFg=; b=0dno9CbYSpEKbQ kvi/Aqsh/fOk4dotBdhCYRzy5EyxOYVX6bY/h5QcMVM48XKhBSKDTZZSxwm6UD0nTqeZ+hnaIKSbS FvxOeC2KL+gPNaI6dMmCgm0dfPVRPapOyd3hERZqzjfUAp/mE8IUPk7sBvbeZNlrK5SQReNgFa/HD y6Lv6/tV2VFfbfBPmifE/U4uXpSj0xqrns7+tLaFvzzZV24svpMsL4mix26jXMaIT6O69i2d3PVmn RWVc81Ne+LOndNBd5OaLjH6wfKa8ZE9vtbSNZdlY48a8Ny4xbznib33eRSsj6Jfy1iFQczb6/4sne vFIZBC5ez0vk7fn8gXcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs4DX-0000000H88x-0v6e; Wed, 03 Apr 2024 17:16:07 +0000 Received: from mgamail.intel.com ([198.175.65.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs4DR-0000000H84s-1zJ1 for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 17:16:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712164562; x=1743700562; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=dyERZVOSJSZL7gNINQU4nunPESAJfDiycIFf2QpXnwI=; b=U74W2ygBdHZNZ4Sbfn5ffsp5Mb4KA2YAQ61JBg9OX+h58aiJqyZE4GpV NYnr3o3GJcIj67HaSRfNT78MkGJjELyx3COiaihewgueIlhx3Y8gvONs6 stOw2NhxhNnpZ4X+pdLK2TQyDaN2ObVzvdBUJ0cmoikOwJrZC7MxbezVg lzvyG9duUy+TtAxLIbIL+Xy8RIrJbCu4RjhXug8j4E7gc0CKhoDZyprmv 5cXt+e2/h3z83HINGrI5b3vEgD2lJljMiebNMQjOO4O4aMR9l46rFyDp4 e/wy5fYCbMP8fzxMJ1xlhO6m2pbhAD1BZMM75vkQ2d+X6JM27Oo91urY0 A==; X-CSE-ConnectionGUID: RlhcyvacQ12K5y9tV1wEIA== X-CSE-MsgGUID: 4X3oj6rNRL2GA/S7V3aADQ== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="18863564" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="18863564" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 10:15:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="937085341" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="937085341" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 03 Apr 2024 10:15:54 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 88BB9192; Wed, 3 Apr 2024 20:15:53 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown Subject: [PATCH v1 0/5] spi: pxa2xx: Cleanup (part 2) Date: Wed, 3 Apr 2024 20:06:34 +0300 Message-ID: <20240403171550.1074644-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_101601_640655_326F08CE X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Here is the additional cleanup of the driver based on the fact of the linux/spi/pxa2xx_spi.h being a local (to drivers/spi/) header. This means it's based on top of "spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h" (20240327193138.2385910-1-andriy.shevchenko@linux.intel.com). Andy Shevchenko (5): spi: pxa2xx: Move number of CS pins validation out of condition spi: pxa2xx: Drop struct pxa2xx_spi_chip spi: pxa2xx: Remove DMA parameters from struct chip_data spi: pxa2xx: Remove timeout field from struct chip_data spi: pxa2xx: Don't provide struct chip_data for others drivers/spi/spi-pxa2xx-dma.c | 27 +---------- drivers/spi/spi-pxa2xx.c | 92 +++++++++--------------------------- drivers/spi/spi-pxa2xx.h | 31 ------------ 3 files changed, 25 insertions(+), 125 deletions(-)