[PATCH 1/5] mmc: remove .owner field for drivers using module_platform_driver

Michal Simek michal.simek at xilinx.com
Mon Aug 18 07:19:56 PDT 2014


Hi Peter,

On 08/12/2014 06:14 PM, Peter Griffin wrote:
> This patch removes the superflous .owner field for drivers which
> use the module_platform_driver API, as this is overriden in
> platform_driver_register anyway.
> 
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> ---
>  drivers/mmc/host/jz4740_mmc.c      | 1 -
>  drivers/mmc/host/moxart-mmc.c      | 1 -
>  drivers/mmc/host/mxcmmc.c          | 1 -
>  drivers/mmc/host/mxs-mmc.c         | 1 -
>  drivers/mmc/host/omap.c            | 1 -
>  drivers/mmc/host/omap_hsmmc.c      | 1 -
>  drivers/mmc/host/pxamci.c          | 1 -
>  drivers/mmc/host/rtsx_pci_sdmmc.c  | 1 -
>  drivers/mmc/host/rtsx_usb_sdmmc.c  | 1 -
>  drivers/mmc/host/s3cmci.c          | 1 -
>  drivers/mmc/host/sdhci-bcm-kona.c  | 1 -
>  drivers/mmc/host/sdhci-bcm2835.c   | 1 -
>  drivers/mmc/host/sdhci-cns3xxx.c   | 1 -
>  drivers/mmc/host/sdhci-dove.c      | 1 -
>  drivers/mmc/host/sdhci-esdhc-imx.c | 1 -
>  drivers/mmc/host/sdhci-msm.c       | 1 -
>  drivers/mmc/host/sdhci-of-arasan.c | 1 -
>  drivers/mmc/host/sdhci-of-esdhc.c  | 1 -
>  drivers/mmc/host/sdhci-of-hlwd.c   | 1 -
>  drivers/mmc/host/sdhci-pxav2.c     | 1 -
>  drivers/mmc/host/sdhci-pxav3.c     | 1 -
>  drivers/mmc/host/sdhci-s3c.c       | 1 -
>  drivers/mmc/host/sdhci-sirf.c      | 1 -
>  drivers/mmc/host/sdhci-spear.c     | 1 -
>  drivers/mmc/host/sdhci-tegra.c     | 1 -
>  drivers/mmc/host/sh_mmcif.c        | 1 -
>  drivers/mmc/host/sh_mobile_sdhi.c  | 1 -
>  drivers/mmc/host/sunxi-mmc.c       | 1 -
>  28 files changed, 28 deletions(-)

I have checked this for all xilinx drivers we have in the tree
and I have sent similar patches.
This problem is probably in all subsystems.
With communication with Mark Brown. Don't you have
cocinelle script for fixing this everywhere?

Thanks,
Michal



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140818/db358ef2/attachment.sig>


More information about the linux-arm-kernel mailing list