Message ID | 20240331-module-owner-virtio-v2-11-98f04bfaf46a@linaro.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | virtio: store owner from modules with register_virtio_driver() | expand |
On Sun, Mar 31, 2024 at 10:43:58AM +0200, Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > Acked-by: Sudeep Holla <sudeep.holla@arm.com>
diff --git a/drivers/firmware/arm_scmi/virtio.c b/drivers/firmware/arm_scmi/virtio.c index d68c01cb7aa0..4892058445ce 100644 --- a/drivers/firmware/arm_scmi/virtio.c +++ b/drivers/firmware/arm_scmi/virtio.c @@ -908,7 +908,6 @@ static const struct virtio_device_id id_table[] = { static struct virtio_driver virtio_scmi_driver = { .driver.name = "scmi-virtio", - .driver.owner = THIS_MODULE, .feature_table = features, .feature_table_size = ARRAY_SIZE(features), .id_table = id_table,
virtio 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/firmware/arm_scmi/virtio.c | 1 - 1 file changed, 1 deletion(-)