-
- Downloads
of: Remove duplicate fields from of_platform_driver
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver. This patch is a removes the extra copies from struct of_platform_driver and converts all users to the device_driver members. This patch is a pretty mechanical change. The usage model doesn't change and if any drivers have been missed, or if anything has been fixed up incorrectly, then it will fail with a compile time error, and the fixup will be trivial. This patch looks big and scary because it touches so many files, but it should be pretty safe. Signed-off-by:Grant Likely <grant.likely@secretlab.ca> Acked-by:
Sean MacLennan <smaclennan@pikatech.com>
Showing
- arch/powerpc/kernel/ibmebus.c 0 additions, 3 deletionsarch/powerpc/kernel/ibmebus.c
- arch/powerpc/kernel/of_platform.c 2 additions, 1 deletionarch/powerpc/kernel/of_platform.c
- arch/powerpc/platforms/52xx/mpc52xx_gpio.c 10 additions, 4 deletionsarch/powerpc/platforms/52xx/mpc52xx_gpio.c
- arch/powerpc/platforms/52xx/mpc52xx_gpt.c 5 additions, 2 deletionsarch/powerpc/platforms/52xx/mpc52xx_gpt.c
- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 5 additions, 3 deletionsarch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
- arch/powerpc/platforms/82xx/ep8248e.c 2 additions, 1 deletionarch/powerpc/platforms/82xx/ep8248e.c
- arch/powerpc/platforms/83xx/suspend.c 5 additions, 2 deletionsarch/powerpc/platforms/83xx/suspend.c
- arch/powerpc/platforms/cell/axon_msi.c 4 additions, 3 deletionsarch/powerpc/platforms/cell/axon_msi.c
- arch/powerpc/platforms/pasemi/gpio_mdio.c 4 additions, 3 deletionsarch/powerpc/platforms/pasemi/gpio_mdio.c
- arch/powerpc/sysdev/axonram.c 4 additions, 4 deletionsarch/powerpc/sysdev/axonram.c
- arch/powerpc/sysdev/bestcomm/bestcomm.c 4 additions, 6 deletionsarch/powerpc/sysdev/bestcomm/bestcomm.c
- arch/powerpc/sysdev/fsl_msi.c 5 additions, 2 deletionsarch/powerpc/sysdev/fsl_msi.c
- arch/powerpc/sysdev/fsl_pmc.c 5 additions, 2 deletionsarch/powerpc/sysdev/fsl_pmc.c
- arch/powerpc/sysdev/fsl_rio.c 5 additions, 2 deletionsarch/powerpc/sysdev/fsl_rio.c
- arch/powerpc/sysdev/pmi.c 4 additions, 3 deletionsarch/powerpc/sysdev/pmi.c
- arch/powerpc/sysdev/qe_lib/qe.c 5 additions, 2 deletionsarch/powerpc/sysdev/qe_lib/qe.c
- arch/sparc/include/asm/parport.h 5 additions, 2 deletionsarch/sparc/include/asm/parport.h
- arch/sparc/kernel/apc.c 5 additions, 2 deletionsarch/sparc/kernel/apc.c
- arch/sparc/kernel/auxio_64.c 4 additions, 3 deletionsarch/sparc/kernel/auxio_64.c
- arch/sparc/kernel/central.c 8 additions, 6 deletionsarch/sparc/kernel/central.c
Loading
Please register or sign in to comment