Message ID | 20240327-b4-module-owner-acpi-v1-4-725241a2d224@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | ACPI: store owner from modules with acpi_bus_register_driver() | expand |
On Wed, Mar 27, 2024 at 08:43:51AM +0100, Krzysztof Kozlowski wrote: > ACPI bus core already sets the .owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Tzung-Bi Shih <tzungbi@kernel.org> I would prefer to use "platform/chrome: wilco_ec: " prefix though.
diff --git a/drivers/platform/chrome/wilco_ec/event.c b/drivers/platform/chrome/wilco_ec/event.c index 13291fb4214e..ae34e81c5d18 100644 --- a/drivers/platform/chrome/wilco_ec/event.c +++ b/drivers/platform/chrome/wilco_ec/event.c @@ -523,7 +523,6 @@ static struct acpi_driver event_driver = { .notify = event_device_notify, .remove = event_device_remove, }, - .owner = THIS_MODULE, }; static int __init event_module_init(void)
ACPI bus core already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Depends on the first patch. --- drivers/platform/chrome/wilco_ec/event.c | 1 - 1 file changed, 1 deletion(-)