drivers/platform/chrome/chromeos_pstore.c:85:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Aaron Durbin <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> --- chromeos_pstore.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/platform/chrome/chromeos_pstore.c +++ b/drivers/platform/chrome/chromeos_pstore.c @@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(acpi, cros_ramoops_a static struct platform_driver chromeos_ramoops_acpi = { .driver = { .name = "chromeos_pstore", - .owner = THIS_MODULE, .acpi_match_table = ACPI_PTR(cros_ramoops_acpi_match), }, };

