Message ID | 20240902125947.1368-1-yangyingliang@huaweicloud.com (mailing list archive) |
---|---|
Headers |
Received: from sy.mirrors.kernel.org ([147.75.48.161]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-17348-patchwork=linuxtv.org@vger.kernel.org>) id 1sl6fB-0000kf-2s for patchwork@linuxtv.org; Mon, 02 Sep 2024 13:00:10 +0000 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 1BC08B24759 for <patchwork@linuxtv.org>; Mon, 2 Sep 2024 13:00:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BE3419C54C; Mon, 2 Sep 2024 12:59:58 +0000 (UTC) X-Original-To: linux-media@vger.kernel.org Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (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 CECE7185934; Mon, 2 Sep 2024 12:59:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725281998; cv=none; b=iFyvbSDzAbytRcPmzHMmerbmp84DDtL1i+htijd7LeGvON9XqsQdj5sNso4MUljfesGpdOE0zTGwbYAEFAJSBnrwNB14ptIZbAMO4ybqZHwgbceia8may7CFH5kb85PLBBoE5CR0HUkNs/U2iDIpoP/VUb2OSLGoJ6cahkYePCo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725281998; c=relaxed/simple; bh=kHnq+v6zcq0uJMl19BJVTKXg4qGgDN1TgTM/IMTIg/E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ayk7kodpeZ0w2lD9qpBm/e9wOv2ygs96L3xD3hpNvT3AL4a4kMUX2qnYgAhSjDeoRTgMOF3OVvJ9GchmaBYZgj99EvtqwD0NxYV/Iy7ajxgYfsXPX2WMHe/7OqugQ9APGxKiii7gS2j/7zQrD2XZCinhwePF1sYDa3+T2ad/Oq4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Wy83d3bpYz4f3jt9; Mon, 2 Sep 2024 20:59:41 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.128]) by mail.maildlp.com (Postfix) with ESMTP id AE0431A018D; Mon, 2 Sep 2024 20:59:51 +0800 (CST) Received: from huaweicloud.com (unknown [10.85.165.202]) by APP4 (Coremail) with SMTP id gCh0CgD3KsfEttVmOJPAAA--.25304S4; Mon, 02 Sep 2024 20:59:51 +0800 (CST) From: Yang Yingliang <yangyingliang@huaweicloud.com> To: broonie@kernel.org, mchehab@kernel.org, Jonathan.Cameron@huawei.com, rmfrfs@gmail.com, vireshk@kernel.org, gregkh@linuxfoundation.org, deller@gmx.de, corbet@lwn.net, yangyingliang@huawei.com, liwei391@huawei.com Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-doc@vger.kernel.org, linux-spi@vger.kernel.org Subject: [PATCH -next 0/7] spi: replace and remove {devm_}spi_alloc_master/slave() Date: Mon, 2 Sep 2024 20:59:40 +0800 Message-ID: <20240902125947.1368-1-yangyingliang@huaweicloud.com> X-Mailer: git-send-email 2.46.0.windows.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgD3KsfEttVmOJPAAA--.25304S4 X-Coremail-Antispam: 1UD129KBjvdXoWrKr4UuF4DWFW5KFy5KF4kWFg_yoWDtrb_CF 98Z3W7W39rKFn5tFn2vrn3ZrW093yFgr4ktFn0q3y3AryxXr48Jw47uF45Zry7ZF4UCF15 GryIq3yavr1YgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbxAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxV AFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2 j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7x kEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACI402YVCY1x02628vn2kIc2xKxwCY1x0262kK e7AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c 02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_ GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7 CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v2 6r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07 UAwIDUUUUU= X-CM-SenderInfo: 51dqw5xlqjzxhdqjqx5xdzvxpfor3voofrz/ X-LSpam-Score: -6.2 (------) X-LSpam-Report: No, score=-6.2 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DMARC_MISSING=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_VALIDITY_CERTIFIED=-3,RCVD_IN_VALIDITY_RPBL=1.31,RCVD_IN_VALIDITY_SAFE=-2,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no |
Series |
spi: replace and remove {devm_}spi_alloc_master/slave()
|
|
Message
Yang Yingliang
Sept. 2, 2024, 12:59 p.m. UTC
From: Yang Yingliang <yangyingliang@huawei.com>
Switch to use {devm_}spi_alloc_host/target() in drivers and remove
{devm_}spi_alloc_master/slave() in spi driver.
Yang Yingliang (7):
media: usb/msi2500: switch to use spi_alloc_host()
media: netup_unidvb: switch to use devm_spi_alloc_host()
spi: ch341: switch to use devm_spi_alloc_host()
spi: slave-mt27xx: switch to use spi_alloc_target()
video: fbdev: mmp: switch to use spi_alloc_host()
staging: greybus: spi: switch to use spi_alloc_host()
spi: remove {devm_}spi_alloc_master/slave()
.../driver-api/driver-model/devres.rst | 4 +--
.../media/pci/netup_unidvb/netup_unidvb_spi.c | 6 ++--
drivers/media/usb/msi2500/msi2500.c | 4 +--
drivers/spi/spi-ch341.c | 2 +-
drivers/spi/spi-slave-mt27xx.c | 4 +--
drivers/spi/spi.c | 14 ++++-----
drivers/staging/greybus/spilib.c | 6 ++--
drivers/video/fbdev/mmp/hw/mmp_spi.c | 6 ++--
include/linux/spi/spi.h | 30 -------------------
9 files changed, 23 insertions(+), 53 deletions(-)
Comments
On Mon, Sep 02, 2024 at 08:59:40PM +0800, Yang Yingliang wrote: > From: Yang Yingliang <yangyingliang@huawei.com> > > Switch to use {devm_}spi_alloc_host/target() in drivers and remove > {devm_}spi_alloc_master/slave() in spi driver. > > Yang Yingliang (7): > media: usb/msi2500: switch to use spi_alloc_host() > media: netup_unidvb: switch to use devm_spi_alloc_host() > spi: ch341: switch to use devm_spi_alloc_host() > spi: slave-mt27xx: switch to use spi_alloc_target() > video: fbdev: mmp: switch to use spi_alloc_host() > staging: greybus: spi: switch to use spi_alloc_host() > spi: remove {devm_}spi_alloc_master/slave() Unless someone shouts about this I intend to apply it at -rc1.
On Mon, 02 Sep 2024 20:59:40 +0800, Yang Yingliang wrote: > Switch to use {devm_}spi_alloc_host/target() in drivers and remove > {devm_}spi_alloc_master/slave() in spi driver. > > Yang Yingliang (7): > media: usb/msi2500: switch to use spi_alloc_host() > media: netup_unidvb: switch to use devm_spi_alloc_host() > spi: ch341: switch to use devm_spi_alloc_host() > spi: slave-mt27xx: switch to use spi_alloc_target() > video: fbdev: mmp: switch to use spi_alloc_host() > staging: greybus: spi: switch to use spi_alloc_host() > spi: remove {devm_}spi_alloc_master/slave() > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/7] media: usb/msi2500: switch to use spi_alloc_host() commit: 5ba92299badc4e71670269877262c8cc3b6c806f [2/7] media: netup_unidvb: switch to use devm_spi_alloc_host() commit: ac2f5bbe80e143509cf24527a7ae021f356f8977 [3/7] spi: ch341: switch to use devm_spi_alloc_host() commit: 0191e98ae6e22bebae4e9a487ba70f90d2f8714c [4/7] spi: slave-mt27xx: switch to use spi_alloc_target() commit: 4bca15a56edd7b1c8c8573ddd3dd67424ec15e11 [5/7] video: fbdev: mmp: switch to use spi_alloc_host() commit: 5c303090e1d8426c721709d50f0120f66bae6919 [6/7] staging: greybus: spi: switch to use spi_alloc_host() (no commit info) [7/7] spi: remove {devm_}spi_alloc_master/slave() commit: 0809a9ccac4a2ffdfd1561bb551aec6099775545 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark