Skip to content

Commit 06a104d

Browse files
committed
Merge tag 'linux-can-next-for-6.12-20240911' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
Marc Kleine-Budde says: ==================== pull-request: can-next 2024-09-11 The first patch is by Uwe Kleine-König targets all CAN platform driver and switches back the remove function to struct platform_driver::remove(). A patch by Stefan Mätje fixes the help text of the ESD USB driver. Jake Hamby's patch masks an unneeded interrupt in the m_can driver. The last 2 patches target the rockchip_canfd driver. Arnd Bergmann's patch reworks the delay calculation for the timekeeping worker, a patch by me fixes the decoding of the error code register. * tag 'linux-can-next-for-6.12-20240911' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next: can: rockchip_canfd: rkcanfd_handle_error_int_reg_ec(): fix decoding of error code register can: rockchip_canfd: rkcanfd_timestamp_init(): rework delay calculation can: m_can: m_can_chip_config(): mask timestamp wraparound IRQ can: usb: Kconfig: Fix list of devices for esd_usb driver can: Switch back to struct platform_driver::remove() ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 37551b4 + 2b2a9a0 commit 06a104d

24 files changed

+27
-27
lines changed

drivers/net/can/at91_can.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ MODULE_DEVICE_TABLE(platform, at91_can_id_table);
11911191

11921192
static struct platform_driver at91_can_driver = {
11931193
.probe = at91_can_probe,
1194-
.remove_new = at91_can_remove,
1194+
.remove = at91_can_remove,
11951195
.driver = {
11961196
.name = KBUILD_MODNAME,
11971197
.of_match_table = of_match_ptr(at91_can_dt_ids),

drivers/net/can/bxcan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ static struct platform_driver bxcan_driver = {
10921092
.of_match_table = bxcan_of_match,
10931093
},
10941094
.probe = bxcan_probe,
1095-
.remove_new = bxcan_remove,
1095+
.remove = bxcan_remove,
10961096
};
10971097

10981098
module_platform_driver(bxcan_driver);

drivers/net/can/c_can/c_can_platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ static struct platform_driver c_can_plat_driver = {
476476
.of_match_table = c_can_of_table,
477477
},
478478
.probe = c_can_plat_probe,
479-
.remove_new = c_can_plat_remove,
479+
.remove = c_can_plat_remove,
480480
.suspend = c_can_suspend,
481481
.resume = c_can_resume,
482482
.id_table = c_can_id_table,

drivers/net/can/cc770/cc770_isa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static void cc770_isa_remove(struct platform_device *pdev)
307307

308308
static struct platform_driver cc770_isa_driver = {
309309
.probe = cc770_isa_probe,
310-
.remove_new = cc770_isa_remove,
310+
.remove = cc770_isa_remove,
311311
.driver = {
312312
.name = KBUILD_MODNAME,
313313
},

drivers/net/can/cc770/cc770_platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ static struct platform_driver cc770_platform_driver = {
247247
.of_match_table = cc770_platform_table,
248248
},
249249
.probe = cc770_platform_probe,
250-
.remove_new = cc770_platform_remove,
250+
.remove = cc770_platform_remove,
251251
};
252252

253253
module_platform_driver(cc770_platform_driver);

drivers/net/can/ctucanfd/ctucanfd_platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ MODULE_DEVICE_TABLE(of, ctucan_of_match);
111111

112112
static struct platform_driver ctucanfd_driver = {
113113
.probe = ctucan_platform_probe,
114-
.remove_new = ctucan_platform_remove,
114+
.remove = ctucan_platform_remove,
115115
.driver = {
116116
.name = DRV_NAME,
117117
.pm = &ctucan_platform_pm_ops,

drivers/net/can/flexcan/flexcan-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,7 +2385,7 @@ static struct platform_driver flexcan_driver = {
23852385
.of_match_table = flexcan_of_match,
23862386
},
23872387
.probe = flexcan_probe,
2388-
.remove_new = flexcan_remove,
2388+
.remove = flexcan_remove,
23892389
.id_table = flexcan_id_table,
23902390
};
23912391

drivers/net/can/grcan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ static struct platform_driver grcan_driver = {
17251725
.of_match_table = grcan_match,
17261726
},
17271727
.probe = grcan_probe,
1728-
.remove_new = grcan_remove,
1728+
.remove = grcan_remove,
17291729
};
17301730

17311731
module_platform_driver(grcan_driver);

drivers/net/can/ifi_canfd/ifi_canfd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ static struct platform_driver ifi_canfd_plat_driver = {
10331033
.of_match_table = ifi_canfd_of_table,
10341034
},
10351035
.probe = ifi_canfd_plat_probe,
1036-
.remove_new = ifi_canfd_plat_remove,
1036+
.remove = ifi_canfd_plat_remove,
10371037
};
10381038

10391039
module_platform_driver(ifi_canfd_plat_driver);

drivers/net/can/janz-ican3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ static struct platform_driver ican3_driver = {
20492049
.name = DRV_NAME,
20502050
},
20512051
.probe = ican3_probe,
2052-
.remove_new = ican3_remove,
2052+
.remove = ican3_remove,
20532053
};
20542054

20552055
module_platform_driver(ican3_driver);

0 commit comments

Comments
 (0)