Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'chrome-platform-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome platform updates from Tzung-Bi Shih:
"Fixes:
- Fix a leak of fwnode refcount.

Cleanups:
- Drop unused I2C driver data
- Move back from platform_driver::remove_new() to
platform_driver::remove()"

* tag 'chrome-platform-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
platform/chrome: Switch back to struct platform_driver::remove()
platform/chrome: cros_ec_typec: fix missing fwnode reference decrement
platform/chrome: Drop explicit initialization of struct i2c_device_id::driver_data to 0

+17 -16
+1 -1
drivers/platform/chrome/cros_ec_chardev.c
··· 415 415 .name = DRV_NAME, 416 416 }, 417 417 .probe = cros_ec_chardev_probe, 418 - .remove_new = cros_ec_chardev_remove, 418 + .remove = cros_ec_chardev_remove, 419 419 .id_table = cros_ec_chardev_id, 420 420 }; 421 421
+1 -1
drivers/platform/chrome/cros_ec_debugfs.c
··· 582 582 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 583 583 }, 584 584 .probe = cros_ec_debugfs_probe, 585 - .remove_new = cros_ec_debugfs_remove, 585 + .remove = cros_ec_debugfs_remove, 586 586 .id_table = cros_ec_debugfs_id, 587 587 }; 588 588
+1 -1
drivers/platform/chrome/cros_ec_i2c.c
··· 352 352 #endif 353 353 354 354 static const struct i2c_device_id cros_ec_i2c_id[] = { 355 - { "cros-ec-i2c", 0 }, 355 + { "cros-ec-i2c" }, 356 356 { } 357 357 }; 358 358 MODULE_DEVICE_TABLE(i2c, cros_ec_i2c_id);
+1 -1
drivers/platform/chrome/cros_ec_lightbar.c
··· 608 608 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 609 609 }, 610 610 .probe = cros_ec_lightbar_probe, 611 - .remove_new = cros_ec_lightbar_remove, 611 + .remove = cros_ec_lightbar_remove, 612 612 .id_table = cros_ec_lightbar_id, 613 613 }; 614 614
+1 -1
drivers/platform/chrome/cros_ec_lpc.c
··· 783 783 .probe_type = PROBE_FORCE_SYNCHRONOUS, 784 784 }, 785 785 .probe = cros_ec_lpc_probe, 786 - .remove_new = cros_ec_lpc_remove, 786 + .remove = cros_ec_lpc_remove, 787 787 }; 788 788 789 789 static struct platform_device cros_ec_lpc_device = {
+1 -1
drivers/platform/chrome/cros_ec_sysfs.c
··· 359 359 .name = DRV_NAME, 360 360 }, 361 361 .probe = cros_ec_sysfs_probe, 362 - .remove_new = cros_ec_sysfs_remove, 362 + .remove = cros_ec_sysfs_remove, 363 363 .id_table = cros_ec_sysfs_id, 364 364 }; 365 365
+2 -1
drivers/platform/chrome/cros_ec_typec.c
··· 409 409 return 0; 410 410 411 411 unregister_ports: 412 + fwnode_handle_put(fwnode); 412 413 cros_unregister_ports(typec); 413 414 return ret; 414 415 } ··· 1326 1325 .pm = &cros_typec_pm_ops, 1327 1326 }, 1328 1327 .probe = cros_typec_probe, 1329 - .remove_new = cros_typec_remove, 1328 + .remove = cros_typec_remove, 1330 1329 }; 1331 1330 1332 1331 module_platform_driver(cros_typec_driver);
+1 -1
drivers/platform/chrome/cros_ec_vbc.c
··· 145 145 .name = DRV_NAME, 146 146 }, 147 147 .probe = cros_ec_vbc_probe, 148 - .remove_new = cros_ec_vbc_remove, 148 + .remove = cros_ec_vbc_remove, 149 149 .id_table = cros_ec_vbc_id, 150 150 }; 151 151
+1 -1
drivers/platform/chrome/cros_hps_i2c.c
··· 129 129 static DEFINE_RUNTIME_DEV_PM_OPS(hps_pm_ops, hps_suspend, hps_resume, NULL); 130 130 131 131 static const struct i2c_device_id hps_i2c_id[] = { 132 - { "cros-hps", 0 }, 132 + { "cros-hps" }, 133 133 { } 134 134 }; 135 135 MODULE_DEVICE_TABLE(i2c, hps_i2c_id);
+1 -1
drivers/platform/chrome/cros_typec_switch.c
··· 318 318 .acpi_match_table = ACPI_PTR(cros_typec_switch_acpi_id), 319 319 }, 320 320 .probe = cros_typec_switch_probe, 321 - .remove_new = cros_typec_switch_remove, 321 + .remove = cros_typec_switch_remove, 322 322 }; 323 323 324 324 module_platform_driver(cros_typec_switch_driver);
+1 -1
drivers/platform/chrome/cros_usbpd_logger.c
··· 262 262 .pm = &cros_usbpd_logger_pm_ops, 263 263 }, 264 264 .probe = cros_usbpd_logger_probe, 265 - .remove_new = cros_usbpd_logger_remove, 265 + .remove = cros_usbpd_logger_remove, 266 266 .id_table = cros_usbpd_logger_id, 267 267 }; 268 268
+2 -2
drivers/platform/chrome/cros_usbpd_notify.c
··· 156 156 .acpi_match_table = cros_usbpd_notify_acpi_device_ids, 157 157 }, 158 158 .probe = cros_usbpd_notify_probe_acpi, 159 - .remove_new = cros_usbpd_notify_remove_acpi, 159 + .remove = cros_usbpd_notify_remove_acpi, 160 160 }; 161 161 162 162 #endif /* CONFIG_ACPI */ ··· 230 230 .name = DRV_NAME, 231 231 }, 232 232 .probe = cros_usbpd_notify_probe_plat, 233 - .remove_new = cros_usbpd_notify_remove_plat, 233 + .remove = cros_usbpd_notify_remove_plat, 234 234 .id_table = cros_usbpd_notify_id, 235 235 }; 236 236
+1 -1
drivers/platform/chrome/wilco_ec/core.c
··· 163 163 .acpi_match_table = wilco_ec_acpi_device_ids, 164 164 }, 165 165 .probe = wilco_ec_probe, 166 - .remove_new = wilco_ec_remove, 166 + .remove = wilco_ec_remove, 167 167 .id_table = wilco_ec_id, 168 168 }; 169 169
+1 -1
drivers/platform/chrome/wilco_ec/debugfs.c
··· 276 276 .name = DRV_NAME, 277 277 }, 278 278 .probe = wilco_ec_debugfs_probe, 279 - .remove_new = wilco_ec_debugfs_remove, 279 + .remove = wilco_ec_debugfs_remove, 280 280 .id_table = wilco_ec_debugfs_id, 281 281 }; 282 282
+1 -1
drivers/platform/chrome/wilco_ec/telemetry.c
··· 417 417 418 418 static struct platform_driver telem_driver = { 419 419 .probe = telem_device_probe, 420 - .remove_new = telem_device_remove, 420 + .remove = telem_device_remove, 421 421 .driver = { 422 422 .name = DRV_NAME, 423 423 },