lkml.org 
[lkml]   [2014]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] mtd: remove .owner field for driver using module_platform_driver
Date
Hi Sanjeev Sharma,

On 11/11/2014 03:57 PM, Sanjeev Sharma wrote:
> This patch removes the .owner field for drivers which use the
> platform_driver_register api because this is overriden in
> _platform_driver_register.
>
> Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
> ---
> drivers/mtd/nand/ams-delta.c | 1 -
> drivers/mtd/nand/atmel_nand.c | 2 --
> drivers/mtd/nand/au1550nd.c | 1 -
> drivers/mtd/nand/bf5xx_nand.c | 1 -
> drivers/mtd/nand/davinci_nand.c | 1 -
> drivers/mtd/nand/denali_dt.c | 1 -
> drivers/mtd/nand/docg4.c | 1 -
> drivers/mtd/nand/fsl_elbc_nand.c | 1 -
> drivers/mtd/nand/fsl_ifc_nand.c | 1 -
> drivers/mtd/nand/fsl_upm.c | 1 -
> drivers/mtd/nand/fsmc_nand.c | 1 -
> drivers/mtd/nand/gpio.c | 1 -
> drivers/mtd/nand/jz4740_nand.c | 1 -
> drivers/mtd/nand/lpc32xx_mlc.c | 1 -
> drivers/mtd/nand/lpc32xx_slc.c | 1 -
> drivers/mtd/nand/mpc5121_nfc.c | 1 -
> drivers/mtd/nand/mxc_nand.c | 1 -
> drivers/mtd/nand/ndfc.c | 1 -
> drivers/mtd/nand/nuc900_nand.c | 1 -
> drivers/mtd/nand/omap2.c | 1 -
> drivers/mtd/nand/omap_elm.c | 1 -
> drivers/mtd/nand/orion_nand.c | 1 -
> drivers/mtd/nand/pasemi_nand.c | 1 -
> drivers/mtd/nand/plat_nand.c | 1 -
> drivers/mtd/nand/s3c2410.c | 1 -
> drivers/mtd/nand/sh_flctl.c | 1 -
> drivers/mtd/nand/sharpsl.c | 1 -
> drivers/mtd/nand/socrates_nand.c | 1 -
> drivers/mtd/nand/tmio_nand.c | 1 -
> drivers/mtd/nand/txx9ndfmc.c | 1 -
> 30 files changed, 31 deletions(-)

This removal of .owner field should be done for all the platform drivers which are using module_platform_driver().

Wolfram Sang <wsa@the-dreams.de> working on this change on the all the drivers. Please see [1].


[1]:https://git.kernel.org/cgit/linux/kernel/git/wsa/linux.git/log/?h=platform/remove_owner

Thanks for the information and it surely make sense to take this up in all the subsystem.

Sanjeev

--
Thanks and Regards,
Varka Bhadram.



\
 
 \ /
  Last update: 2014-11-12 09:41    [W:0.037 / U:4.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site