From patchwork Wed Oct 4 13:12:33 2023 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: 13408756 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 2A538E7B60F for ; Wed, 4 Oct 2023 13:13:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242585AbjJDNNx (ORCPT ); Wed, 4 Oct 2023 09:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242599AbjJDNNw (ORCPT ); Wed, 4 Oct 2023 09:13:52 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAE07FD for ; Wed, 4 Oct 2023 06:13:48 -0700 (PDT) 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 1qo1gX-0006n6-QV; Wed, 04 Oct 2023 15:13:05 +0200 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 1qo1gU-00B2gu-1n; Wed, 04 Oct 2023 15:13:02 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qo1gT-008zBw-Mz; Wed, 04 Oct 2023 15:13:01 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Borislav Petkov , Tony Luck Cc: Dinh Nguyen , James Morse , Mauro Carvalho Chehab , Robert Richter , linux-edac@vger.kernel.org, kernel@pengutronix.de, Jan Luebbe , Stefan Schaeckeler , Joel Stanley , Andrew Jeffery , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, Shravan Kumar Ramani , Lei Wang , Andre Przywara , Johannes Thumshirn , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Marvin Lin , Stanley Chu , openbmc@lists.ozlabs.org, Ralf Baechle , linux-mips@vger.kernel.org, Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Michal Simek , Tero Kristo , Khuong Dinh , Shubhrajyoti Datta , Sai Krishna Potthuri Subject: [PATCH 00/21] EDAC: Convert to platform remove callback returning void Date: Wed, 4 Oct 2023 15:12:33 +0200 Message-Id: <20231004131254.2673842-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3651; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=WYjQl7z9JGj88YgXlzr7fZyIrt99MtmffigaMEwVLic=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlHWSMI7Uzjg0jWISOPMOlv6sqLKMPV7Kc5vy8j H3uo7zXHU2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZR1kjAAKCRCPgPtYfRL+ ThSxB/48lI0ZArL+PONe/VbpImFjsyvMaqK3m8vABGLugaugQvPm+ezKMfrdFHZgn/ag7/OOU3m XrGh+rCegvcwGx0jkdCEU3JHVXKaBXj3405UQW4i3KKagwAY4NlFN81UDt36FAd0tsgJWSR0u68 QFR8kLWJhQdGyoWr4lB9768zAid1x9iokYdEuJyOixF9DY9MzfI8ao/bZYdLE/jjf2uPjvNR5nZ lebunfEllY1iT3vKLz956CEZGFtPcimD1rG/yVaHkFmkmPIwXwjc9s+3/B6lUoNQUfLqPTAHq/U 84R8vcdKFarqQ2t+hdu3pIYjSTl6TCvvBAnupEiwM7I/h+Sb 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-arm-msm@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, this series converts all platform drivers below drivers/edac to use .remove_new(). The motivation is to get rid of an integer return code that is (mostly) ignored by the platform driver core and error prone on the driver side. However none of the edac drivers suffered from the easy to make bug, so all drivers are converted in a trivial way. See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The patch for npcm was already sent back in June (https://lore.kernel.org/linux-edac/20230628071354.665300-1-u.kleine-koenig@pengutronix.de) but didn't result in enthusiastic review comments and it wasn't picked up. There are no interdependencies between the patches. As there are still quite a few drivers to convert, I'm happy about every patch that makes it in. So even if there is a merge conflict with one patch until you apply, please apply the remainder of this series anyhow. I'll come back to the part that you (maybe) skipped at a later point. Best regards Uwe Uwe Kleine-König (21): EDAC/altera: Convert to platform remove callback returning void EDAC/armada_xp: Convert to platform remove callback returning void EDAC/aspeed: Convert to platform remove callback returning void EDAC/bluefield: Convert to platform remove callback returning void EDAC/cell: Convert to platform remove callback returning void EDAC/cpc925: Convert to platform remove callback returning void EDAC/dmc520: Convert to platform remove callback returning void EDAC/highbank_l2: Convert to platform remove callback returning void EDAC/highbank_mc: Convert to platform remove callback returning void EDAC/mpc85xx: Convert to platform remove callback returning void EDAC/npcm: Convert to platform remove callback returning void EDAC/octeon-l2c: Convert to platform remove callback returning void EDAC/octeon-lmc: Convert to platform remove callback returning void EDAC/octeon-pc: Convert to platform remove callback returning void EDAC/octeon-pci: Convert to platform remove callback returning void EDAC/ppc4xx: Convert to platform remove callback returning void EDAC/qcom: Convert to platform remove callback returning void EDAC/synopsys: Convert to platform remove callback returning void EDAC/ti: Convert to platform remove callback returning void EDAC/xgene: Convert to platform remove callback returning void EDAC/zynqmp: Convert to platform remove callback returning void drivers/edac/altera_edac.c | 12 ++++-------- drivers/edac/armada_xp_edac.c | 12 ++++-------- drivers/edac/aspeed_edac.c | 6 ++---- drivers/edac/bluefield_edac.c | 6 ++---- drivers/edac/cell_edac.c | 5 ++--- drivers/edac/cpc925_edac.c | 6 ++---- drivers/edac/dmc520_edac.c | 6 ++---- drivers/edac/highbank_l2_edac.c | 5 ++--- drivers/edac/highbank_mc_edac.c | 5 ++--- drivers/edac/mpc85xx_edac.c | 11 ++++------- drivers/edac/npcm_edac.c | 6 ++---- drivers/edac/octeon_edac-l2c.c | 6 ++---- drivers/edac/octeon_edac-lmc.c | 5 ++--- drivers/edac/octeon_edac-pc.c | 5 ++--- drivers/edac/octeon_edac-pci.c | 6 ++---- drivers/edac/ppc4xx_edac.c | 7 ++----- drivers/edac/qcom_edac.c | 6 ++---- drivers/edac/synopsys_edac.c | 6 ++---- drivers/edac/ti_edac.c | 6 ++---- drivers/edac/xgene_edac.c | 6 ++---- drivers/edac/zynqmp_edac.c | 6 ++---- 21 files changed, 48 insertions(+), 91 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d