Message ID | 20240326-module-owner-amba-v1-19-4517b091385b@linaro.org |
---|---|
State | New |
Headers | show |
Series | [01/19] amba: store owner from modules with amba_driver_register() | expand |
Hi, On 3/26/24 21:23, Krzysztof Kozlowski wrote: > Amba bus core already sets owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Depends on first amba patch. > --- > drivers/vfio/platform/vfio_amba.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/vfio/platform/vfio_amba.c b/drivers/vfio/platform/vfio_amba.c > index 485c6f9161a9..ff8ff8480968 100644 > --- a/drivers/vfio/platform/vfio_amba.c > +++ b/drivers/vfio/platform/vfio_amba.c > @@ -134,7 +134,6 @@ static struct amba_driver vfio_amba_driver = { > .id_table = vfio_amba_ids, > .drv = { > .name = "vfio-amba", > - .owner = THIS_MODULE, > }, > .driver_managed_dma = true, > }; > > Reviewed-by: Eric Auger <eric.auger@redhat.com> Thanks Eric
diff --git a/drivers/vfio/platform/vfio_amba.c b/drivers/vfio/platform/vfio_amba.c index 485c6f9161a9..ff8ff8480968 100644 --- a/drivers/vfio/platform/vfio_amba.c +++ b/drivers/vfio/platform/vfio_amba.c @@ -134,7 +134,6 @@ static struct amba_driver vfio_amba_driver = { .id_table = vfio_amba_ids, .drv = { .name = "vfio-amba", - .owner = THIS_MODULE, }, .driver_managed_dma = true, };
Amba bus core already sets owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Depends on first amba patch. --- drivers/vfio/platform/vfio_amba.c | 1 - 1 file changed, 1 deletion(-)