From patchwork Tue Dec 13 15:35:50 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: 13072149 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 E1004C4167B for ; Tue, 13 Dec 2022 15:36:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236215AbiLMPgW (ORCPT ); Tue, 13 Dec 2022 10:36:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236241AbiLMPgL (ORCPT ); Tue, 13 Dec 2022 10:36:11 -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 99FFE220F5 for ; Tue, 13 Dec 2022 07:36:07 -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 1p57K9-0003Lf-DO; Tue, 13 Dec 2022 16:36:05 +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 1p57K8-004HIM-0D; Tue, 13 Dec 2022 16:36:04 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p57K7-004nvx-Of; Tue, 13 Dec 2022 16:36:03 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: "Lad, Prabhakar" , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 1/4] media: ti/davinci: vpbe_osd: Drop empty platform remove function Date: Tue, 13 Dec 2022 16:35:50 +0100 Message-Id: <20221213153553.648871-2-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> References: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=Ek2XxFg27OY1HJQF3onmlHZyGh575iOiEoAid0Yl+uM=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjmJvIW4MtSICKkfK4JY/fY9ik54jUYOEqP6/NnpAW EDQz226JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5ibyAAKCRDB/BR4rcrsCWBSB/ 9aQ0zonFSqyJumN49zpF8eH+quV+i6UB9aaQqfE7ZRvnvtiToXCEwLKG7z1Vhm7koZ9LboF89VZ3+B sy232KTM8eAjV5cAysiSC7+ExWgQh1FSH5BGT8LYPKrIt3aKL2iVHadH/pbJxoJNy6C0F2wG2cess6 NEJeEVlJa3pygXYkfe9834R8Gn2KhpnWyjocFhHB7X9OO0BOwOafTfJTPXh8Ad/y4i6FtO5CMce6Rt f5D/HGAByBXbMkI+Qm5pk6P6Nkvy64DBIYe/FppOgZpRexfImKaGNSTvKUXMVU0zkxfutwNHJo0O7T ZnQmun2hh1dBA3hpGUkg0q8uZXIle2 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-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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: Lad Prabhakar --- drivers/media/platform/ti/davinci/vpbe_osd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/platform/ti/davinci/vpbe_osd.c b/drivers/media/platform/ti/davinci/vpbe_osd.c index 32f7ef547c82..f6ea71c081d4 100644 --- a/drivers/media/platform/ti/davinci/vpbe_osd.c +++ b/drivers/media/platform/ti/davinci/vpbe_osd.c @@ -1561,14 +1561,8 @@ static int osd_probe(struct platform_device *pdev) return 0; } -static int osd_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver osd_driver = { .probe = osd_probe, - .remove = osd_remove, .driver = { .name = MODULE_NAME, }, From patchwork Tue Dec 13 15:35:51 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: 13072148 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 EF060C10F1D for ; Tue, 13 Dec 2022 15:36:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235718AbiLMPgW (ORCPT ); Tue, 13 Dec 2022 10:36:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236239AbiLMPgL (ORCPT ); Tue, 13 Dec 2022 10:36:11 -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 99FAA220EE for ; Tue, 13 Dec 2022 07:36:07 -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 1p57K9-0003Lg-Fz; Tue, 13 Dec 2022 16:36:05 +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 1p57K8-004HIP-3s; Tue, 13 Dec 2022 16:36:04 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p57K8-004nw0-0z; Tue, 13 Dec 2022 16:36:04 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: "Lad, Prabhakar" , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 2/4] media: ti/davinci: vpbe_venc: Drop empty platform remove function Date: Tue, 13 Dec 2022 16:35:51 +0100 Message-Id: <20221213153553.648871-3-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> References: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=867; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=EDLtuUL32n2FHnDqTAjCS8eEBXP8AGLbLhFASEjBQJE=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjmJvM1s9x+brhXv62Eh/Pb0GqcJJ98HoUaInBJO6S ZtCkqQ6JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5ibzAAKCRDB/BR4rcrsCblTB/ wMUthXxHWm6oXYyYT90vKDB0Esp7FJexWn9sGj7Tq2tFndeqabmzxqUS00hS+u/u0MOBK3n8itztmR tzoGCSZ7ClQ9tErasmXimcz9rgX4JVEf0k/NHo0vRPwSYgA9kqboociunMOQWnuZo6wWGMiRIKBi7d rScx5f5AmRt0XJr49hLJ3uTdW4EqEUzU3hAqkx5WXvbX0d2IxRe6i9eL70JYyLDicrLQ8cHKW7E7MC mKO9MC9FprKvixjaALq1vNJWnDZntNkmnKK8d8fd/hl7kNq7hFPmGIOnJijp6+RmcdyghKu7WZ1yfz E/hBIS0/uPd7jOdkyA2IzxTK6DFHWV 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-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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: Lad Prabhakar --- drivers/media/platform/ti/davinci/vpbe_venc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/platform/ti/davinci/vpbe_venc.c b/drivers/media/platform/ti/davinci/vpbe_venc.c index 4c8e31de12b1..6bde6517cba5 100644 --- a/drivers/media/platform/ti/davinci/vpbe_venc.c +++ b/drivers/media/platform/ti/davinci/vpbe_venc.c @@ -655,14 +655,8 @@ static int venc_probe(struct platform_device *pdev) return 0; } -static int venc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver venc_driver = { .probe = venc_probe, - .remove = venc_remove, .driver = { .name = MODULE_NAME, }, From patchwork Tue Dec 13 15:35:52 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: 13072147 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 D189BC4332F for ; Tue, 13 Dec 2022 15:36:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235883AbiLMPgU (ORCPT ); Tue, 13 Dec 2022 10:36:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236240AbiLMPgL (ORCPT ); Tue, 13 Dec 2022 10:36:11 -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 DCF4B1FFB0 for ; Tue, 13 Dec 2022 07:36:07 -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 1p57K9-0003Lh-Hu; Tue, 13 Dec 2022 16:36:05 +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 1p57K8-004HIS-5h; Tue, 13 Dec 2022 16:36:04 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p57K8-004nw3-6H; Tue, 13 Dec 2022 16:36:04 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Sean Young , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 3/4] media: rc/ir-rx51: Drop empty platform remove function Date: Tue, 13 Dec 2022 16:35:52 +0100 Message-Id: <20221213153553.648871-4-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> References: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1031; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=F2vNtI4sBjlo563V18pvpMYOKOb1t6/d1ijuu0LRauk=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjmJvPPqdal0kjjeWTkC/C0JQkwFzWNawA48gkhQmT 1TNaMFqJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5ibzwAKCRDB/BR4rcrsCQRPB/ 4hCWr5UeUgoWRIh8K8VpLL2G+YqQo0Izlukkli9HjwW5XV8przqdRNVWgIIAhySjMLO8fQJtKYfm6u 9wlCd/+QO/xmZdkKQ4dVKbWTg7w/hfKp0jhS0bcBZVsxNFaeuMZOy5RQk5bZTcMpwU9TKOO4LFhtRg qT9ybl50yRgFdjJvXGGpy9l+MbDzpZ6F9FsV9shA6cNHlqlQIbjo47t9jmxaBotOWfOQkJLVf20Zu/ isyOK9AduMpxS1SQ7jIj2Cm6ibbCINdwLKRa5jDSej9DJET8E7VVmxSAxCx6wvhiaJZDBp4Hb9YP59 VfWMwrnp5TEUiGwIYDz3pVqthHJPi1 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-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/rc/ir-rx51.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c index a3b145183260..da461f2223b6 100644 --- a/drivers/media/rc/ir-rx51.c +++ b/drivers/media/rc/ir-rx51.c @@ -266,11 +266,6 @@ static int ir_rx51_probe(struct platform_device *dev) return devm_rc_register_device(&dev->dev, ir_rx51.rcdev); } -static int ir_rx51_remove(struct platform_device *dev) -{ - return 0; -} - static const struct of_device_id ir_rx51_match[] = { { .compatible = "nokia,n900-ir", @@ -281,7 +276,6 @@ MODULE_DEVICE_TABLE(of, ir_rx51_match); static struct platform_driver ir_rx51_platform_driver = { .probe = ir_rx51_probe, - .remove = ir_rx51_remove, .suspend = ir_rx51_suspend, .resume = ir_rx51_resume, .driver = { From patchwork Tue Dec 13 15:35:53 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: 13072151 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 D8372C4332F for ; Tue, 13 Dec 2022 15:36:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235971AbiLMPgY (ORCPT ); Tue, 13 Dec 2022 10:36:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236243AbiLMPgP (ORCPT ); Tue, 13 Dec 2022 10:36:15 -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 478E8220E0 for ; Tue, 13 Dec 2022 07:36:13 -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 1p57K9-0003Lx-RJ; Tue, 13 Dec 2022 16:36:05 +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 1p57K8-004HIV-El; Tue, 13 Dec 2022 16:36:05 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p57K8-004nw7-CC; Tue, 13 Dec 2022 16:36:04 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Philipp Zabel , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] media: chips-media/imx-vdoa: Drop empty platform remove function Date: Tue, 13 Dec 2022 16:35:53 +0100 Message-Id: <20221213153553.648871-5-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> References: <20221213153553.648871-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1054; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=/7fToy7rqe/2jP0AO5M34YTnTR18gC5uFkAcXO6dHgI=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjmJvTj4FLEgp8SWn0Um7KpPxJG56HogXDM/gOnp9/ Z2OnTJ+JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5ib0wAKCRDB/BR4rcrsCRLoB/ 96Qd62SKdunblF4u1JGNCWd+3yr/lqkfVjBJohDbN3ZlSzCntmzsl7KyCZQosE1BO2YnfemZi8DAoY auSvT/cIhnxqEZactBaSXa64GZcoGDaUaeXHGTTOhh9LFykjESndcVcdrFU1fa2dOUnWI+zTZ9onn8 rSOBIpe/idcdpRpXoOXDzHXJDcFzv6KK76WPjSeNRM6Two2fjOH4a2nGY/gG4kZS6AnTQxJbABGQyr /z8GGvvXFy4JPyEFltWpeYwpKZfzfhrcKNLwi7HJL9eG70sh2CwmIP1x8WM0Mav0LjZS0x9Mq6EpbH msu0tvT47tk3SMCJqHyaDTgWhy6IZ/ 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-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/platform/chips-media/imx-vdoa.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/platform/chips-media/imx-vdoa.c b/drivers/media/platform/chips-media/imx-vdoa.c index c70871bae193..c3561fcecb98 100644 --- a/drivers/media/platform/chips-media/imx-vdoa.c +++ b/drivers/media/platform/chips-media/imx-vdoa.c @@ -324,11 +324,6 @@ static int vdoa_probe(struct platform_device *pdev) return 0; } -static int vdoa_remove(struct platform_device *pdev) -{ - return 0; -} - static const struct of_device_id vdoa_dt_ids[] = { { .compatible = "fsl,imx6q-vdoa" }, {} @@ -337,7 +332,6 @@ MODULE_DEVICE_TABLE(of, vdoa_dt_ids); static struct platform_driver vdoa_driver = { .probe = vdoa_probe, - .remove = vdoa_remove, .driver = { .name = VDOA_NAME, .of_match_table = vdoa_dt_ids,