Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7467107rwb; Mon, 12 Dec 2022 15:16:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bhSO0lAHjjytjaD3TPowUt6IRHQwezO4+n3iCLKkvomn9ad/UcHvF83J7wsqBem+3SNVg X-Received: by 2002:a17:906:1e4d:b0:7c1:ac8:73a0 with SMTP id i13-20020a1709061e4d00b007c10ac873a0mr16936403ejj.51.1670886960671; Mon, 12 Dec 2022 15:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670886960; cv=none; d=google.com; s=arc-20160816; b=cC78xkMsiuVq64jw1G4nlne8QrwvRoAYTj/7C6QKjAUj3ElOyvOOX+pg/YM5Hx1Vxh EgApU8663QxlJKCnOJkXeVl5xjX9pgixxMbVMVmm5NkdE1SpE53QIxmqi1ds2j2F8ANs LmjgI1iKEJLaCSQt5MWywtvge8cEXTHW0EGAKhOkNze1nlAUjerSmULBQVNXW5k5qNpW qNh5XkkVoEAKpOlNFkh+FqAHKvRFD6M01A2b9qMpGG48+fDRhKjpz84qS737JxlO6NJ7 EEy/L+pdvODuMEt4auYkLoxeHzevaY2m1HbNaOuXDHVDS+4oA5x9kGqgVCBV7vfWanQh gzIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Cnsv7PhcVKxPeApzW0FUhCEbA9Nl3K7Di68vjzhgTUM=; b=Rh+yfge7bUnHiwbt3InqeHeEQwkmKDmJudVggkGBh1XdjOSeNhaOWn42VlAlQoBwpT +kbcCT2nb1K7/PZ0w+lnXYaTtHVmA8q/h8Q1ytgaSD37gsDojyI5+vPp0iqvISd9JniX nNDq72bJWBC/BOm08rNnY3zPqeGc8uLThsDizhRnB+fxOfcs/V4E5Yg+n0CLN2IuDT8F bEOGvCW4yUxi7MHbYFLPsih6gqqv32/mVzmVhwz1C2vgNhXQWtLdo7HwVvT1P+eQn6eL vLQeFqIkTKolCL0v16L/69pMcmW6lgE22kiVotG2URsfSzP6bwMuI8gBaNRdrrEegIEn DhuA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd9-20020a1709069b8900b00780805b99ccsi8291835ejc.648.2022.12.12.15.15.42; Mon, 12 Dec 2022 15:16:00 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233765AbiLLW0L (ORCPT + 74 others); Mon, 12 Dec 2022 17:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbiLLW0A (ORCPT ); Mon, 12 Dec 2022 17:26:00 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17B4019C3F for ; Mon, 12 Dec 2022 14:26:00 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4rFA-0004ea-BO; Mon, 12 Dec 2022 23:25:52 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1p4rF7-004777-Rd; Mon, 12 Dec 2022 23:25:50 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4rF7-004boV-Vk; Mon, 12 Dec 2022 23:25:49 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Florian Fainelli , Ray Jui , Scott Branden , Thierry Reding , Jonathan Hunter Cc: Broadcom internal kernel review list , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Matthias Brugger , linux-mediatek@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH 0/3] soc: Drop empty platform remove function Date: Mon, 12 Dec 2022 23:25:46 +0100 Message-Id: <20221212222549.3779846-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=903; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=9Yqk7LGk8vsN1xLwr87+BsL2JAMEBNXdS9ZNHOAdVxM=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl6peqTXm1Zx9NKzokMGKZQZSwYOUvxD/gnhcUpA/ UQjbZzqJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eqXgAKCRDB/BR4rcrsCaK1B/ 4oIK1BL6SDADD6LcuQe6Vsa6aKJmXXgR3STJ4wsSKPXnYiCAC/9THyfxl8k2xY1pz76wXoGGpsv3n6 nx/FwuiOJvQMLSaq7cikPEXGBM9KLDUEb16XsRoG0iniCd38O2eORUQEHsChm0McPvqgQbBmccJA1w 4wULbfw28dt9LwvXTHkSLNET79AidBbXCrktJIe1LO4OatyB/N/8t7VcLlryAW48jTn2Nz/Kv/KWWw xmzyct/oVFDgC1LB+pO8L33gWeSlWsnbzQxSn/ERJDlfModX0FhRGGmaP6aUuRxeT7butXbwlOBj30 imqj5ub3nTf8Gw1G4yN5MKRpufu8iA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit 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.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS 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 Hello, this patch series removes all platform remove functions that only return zero below drivers/soc. There is no reason to have these, as the only caller is platform core code doing: if (drv->remove) { int ret = drv->remove(dev); if (ret) dev_warn(...) } (in platform_remove()) and so having no remove function is both equivalent and simpler. Best regards Uwe Uwe Kleine-König (3): soc: bcm: bcm2835-power: Drop empty platform remove function soc: mediatek: mutex: Drop empty platform remove function soc: tegra: cbb: Drop empty platform remove function drivers/soc/bcm/bcm2835-power.c | 6 ------ drivers/soc/mediatek/mtk-mutex.c | 6 ------ drivers/soc/tegra/cbb/tegra234-cbb.c | 6 ------ 3 files changed, 18 deletions(-) base-commit: 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 -- 2.38.1