[PATCH] mmc: sdhci-brcmstb: Delete owner assignment

Ulf Hansson ulf.hansson at linaro.org
Mon Aug 22 06:39:59 PDT 2016


On 15 August 2016 at 07:40, SF Markus Elfring
<elfring at users.sourceforge.net> wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Mon, 15 Aug 2016 07:32:45 +0200
>
> The field "owner" is set by core. Thus delete an extra initialisation.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>

Thanks, applied for next! Inserted a blank line above according to
Adrian's comment.

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci-brcmstb.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c
> index cce10fe..609ba5b 100644
> --- a/drivers/mmc/host/sdhci-brcmstb.c
> +++ b/drivers/mmc/host/sdhci-brcmstb.c
> @@ -128,7 +128,6 @@ MODULE_DEVICE_TABLE(of, sdhci_brcm_of_match);
>  static struct platform_driver sdhci_brcmstb_driver = {
>         .driver         = {
>                 .name   = "sdhci-brcmstb",
> -               .owner  = THIS_MODULE,
>                 .pm     = &sdhci_brcmstb_pmops,
>                 .of_match_table = of_match_ptr(sdhci_brcm_of_match),
>         },
> --
> 2.9.2
>



More information about the linux-arm-kernel mailing list