From patchwork Mon Dec 12 22:25:49 2022 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: 32548 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2501786wrr; Mon, 12 Dec 2022 14:32:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7MFPqUN7CAE+U2Yksb6GzUBiELpGQ/K8CAw4gt6Xw+RNaA2zWnFjb8F93y6gcOVZIRvFu3 X-Received: by 2002:a05:6a20:c192:b0:a9:ef6a:81af with SMTP id bg18-20020a056a20c19200b000a9ef6a81afmr23708739pzb.13.1670884358260; Mon, 12 Dec 2022 14:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670884358; cv=none; d=google.com; s=arc-20160816; b=Dou+MfGoyoII5XIuz04x3IJcqzVYnfyUqhpmMfHjFpxb3MrapvAeNr2QZKSozyQxyI zcfO1sxv1q+YXmOPEgtcMiy2OixIoYYcLRQLsAgKEVmpCmPmmgVsLkZS3X1OQgAq8KIu /dhTGw463DTYIb3Ynp8OhiVn++dOGIwvlxWIdu4Ray4tgis2qPBkQmOXBQjr5LsCP2Jw 8+EvnKvSA3W0Dgn/Y/Af8qY69NsVWLGbYG1dmdDOYBw5bcJfaNPrdtx9deIuaNluMkMr 2qHKqDG2YhBr0V4kVv7+n68uNZuGFadADb1PetvHOD1Oyv7Kk6Oiwn7KxP5RGNWtOvM9 i+Ug== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VwHBtStHvvxlZklMBlvdkrzIc5xx+5degmb8AW3uOvI=; b=zIUDvGDg0NWXYNuNBEM/Q1aC1WMED6q0TfuWpWfDkSaxh2/4xsrYbKHqfABgsPhjz0 WrjyDiN4ES7LCE2rTLvk+eF3UHCgtHH3Nwmh17POMEXjlyBGxLYY5v6bAmHlfNyfzxvI zms0hZ9U3SHWMggyJQTFZbRtNOORwjMMJH9qi8QB84+yuxxi1gdYC6+iURTERWs9PM2g AnJaPfBqJkQG0J5b3mR2i7MYmLBnqiPLFt1EkAiXpzXqUFZjdtiLhd1SbXjBEHMpgh5n FJRZ7pYaxR6JnhuLmzDL37DJrTDGbWvzAJ1yClOG+b6dUOhLj2kue1sPXk2oeDfqvxbj m4BA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a6566d4000000b0047813915b38si8686595pgw.767.2022.12.12.14.32.23; Mon, 12 Dec 2022 14:32:38 -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 S233754AbiLLW0C (ORCPT + 99 others); Mon, 12 Dec 2022 17:26:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233744AbiLLWZ5 (ORCPT ); Mon, 12 Dec 2022 17:25:57 -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 EDC521AD87 for ; Mon, 12 Dec 2022 14:25:55 -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-0004ep-8k; 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 1p4rF8-00477I-Rm; Mon, 12 Dec 2022 23:25:51 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4rF8-004bof-Ty; Mon, 12 Dec 2022 23:25:50 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 3/3] soc: tegra: cbb: Drop empty platform remove function Date: Mon, 12 Dec 2022 23:25:49 +0100 Message-Id: <20221212222549.3779846-4-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212222549.3779846-1-u.kleine-koenig@pengutronix.de> References: <20221212222549.3779846-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=y71smcDSlNK7gPTiR3iEOCLuDBdlfbnrdjyqfWwTI/o=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl6pnz3ifx3C0R/Ble0taw1B/viUTPgVfHgrbpybV HXHTJ6+JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eqZwAKCRDB/BR4rcrsCS0sB/ 9St3UDbCfHoLl3o6HI9IQQTovtNGpnBJ3vFhjuU8asQevIAjnbA090XdVSmEDwQbp5NRhN7ThDqUqS +S9SpWIH5Xb6tI0n+zIkOuSaqGvaMRczT5eJZMLY+mqGUv4+S8dnvEuH5zJE9JAndy926kkxG8tiKS BDPdfabKFu3ZPmQLU/lh6mr5w+gltTMR8UZQTT8rydbT1VnYdn8hoepi75zr+oqLE0cF4vctSsm62j fR7l1jEFnzmKf6JUm+1LhvNLYvriSKkZYORCkrEB5SqERPMwd0PJ3EB8c1ZUGEGVtxaul18XlQB+v3 YXg+gDTDzHWR7NREjm048z4YsI2gsg 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.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=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752049236907131718?= X-GMAIL-MSGID: =?utf-8?q?1752049236907131718?= A remove callback just returning 0 is equivalent to no remove callback at all. So drop the useless function. Signed-off-by: Uwe Kleine-König Reviewed-by: Sumit Gupta --- drivers/soc/tegra/cbb/tegra234-cbb.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c index 3528f9e15d5c..3b26dcf9a70c 100644 --- a/drivers/soc/tegra/cbb/tegra234-cbb.c +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c @@ -1066,11 +1066,6 @@ static int tegra234_cbb_probe(struct platform_device *pdev) return tegra_cbb_register(&cbb->base); } -static int tegra234_cbb_remove(struct platform_device *pdev) -{ - return 0; -} - static int __maybe_unused tegra234_cbb_resume_noirq(struct device *dev) { struct tegra234_cbb *cbb = dev_get_drvdata(dev); @@ -1088,7 +1083,6 @@ static const struct dev_pm_ops tegra234_cbb_pm = { static struct platform_driver tegra234_cbb_driver = { .probe = tegra234_cbb_probe, - .remove = tegra234_cbb_remove, .driver = { .name = "tegra234-cbb", .of_match_table = tegra234_cbb_dt_ids,