lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241016091323.12578-2-u.kleine-koenig@baylibre.com>
Date: Wed, 16 Oct 2024 11:13:21 +0200
From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
To: Thomas Richard <thomas.richard@...tlin.com>,
	Andi Shyti <andi.shyti@...nel.org>
Cc: linux-i2c@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] i2c: cgbc: Convert to use struct platform_driver::remove()

After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove_new isn't supposed to be used any more. To be able
to eventually drop .remove_new, switch the driver to use .remove which
has the same functionality.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...libre.com>
---
Hello,

the driver was introduced in commit
6894f640b8f3f48700ccc828419ba60704f5a405 which happens after I sent the
patch that became e6be2197ec38 ("i2c: Switch back to struct
platform_driver::remove()") that converted all of drivers/i2c. So here
comes a separate patch for this driver.

Best regards
Uwe

 drivers/i2c/busses/i2c-cgbc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-cgbc.c b/drivers/i2c/busses/i2c-cgbc.c
index eba0b205de11..f054d167ac47 100644
--- a/drivers/i2c/busses/i2c-cgbc.c
+++ b/drivers/i2c/busses/i2c-cgbc.c
@@ -395,7 +395,7 @@ static struct platform_driver cgbc_i2c_driver = {
 		.name = "cgbc-i2c",
 	},
 	.probe		= cgbc_i2c_probe,
-	.remove_new	= cgbc_i2c_remove,
+	.remove		= cgbc_i2c_remove,
 };
 
 module_platform_driver(cgbc_i2c_driver);

base-commit: 6894f640b8f3f48700ccc828419ba60704f5a405
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ