Re: [PATCH 06/28] dma: drop owner assignment from platform_drivers
From: Vinod Koul
Date: Mon Dec 22 2014 - 10:38:42 EST
On Sun, Dec 21, 2014 at 10:14:27PM +0100, Wolfram Sang wrote:
> This platform_driver does not need to set an owner, it will be populated by the
> driver core.
>
After susbstem name if fixed
Acked-by: Vinod Koul <vinod.koul@xxxxxxxxx>
--
~Vinod
> Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> ---
> Generated with coccinelle. SmPL file is in the introductory msg. The big
> cleanup was pulled in this merge window. This series catches the bits fallen
> through. The patches shall go in via the subsystem trees.
>
> drivers/dma/at_xdmac.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
> index b60d77a22df6..1c4c96b7e2bf 100644
> --- a/drivers/dma/at_xdmac.c
> +++ b/drivers/dma/at_xdmac.c
> @@ -1507,7 +1507,6 @@ static struct platform_driver at_xdmac_driver = {
> .remove = at_xdmac_remove,
> .driver = {
> .name = "at_xdmac",
> - .owner = THIS_MODULE,
> .of_match_table = of_match_ptr(atmel_xdmac_dt_ids),
> .pm = &atmel_xdmac_dev_pm_ops,
> }
> --
> 2.1.3
>
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/