Re: [PATCH 161/493] tty: remove use of __devinit

2012-11-20 Thread Nicolas Ferre
On 11/19/2012 07:21 PM, Bill Pemberton :
 CONFIG_HOTPLUG is going away as an option so __devinit is no longer
 needed.
 
 Signed-off-by: Bill Pemberton wf...@virginia.edu
 Cc: Jiri Slaby jirisl...@gmail.com 
 Cc: Alan Cox a...@linux.intel.com 
 Cc: Tobias Klauser tklau...@distanz.ch 
 Cc: Lucas Tavares luca...@linux.vnet.ibm.com 
 Cc: David S. Miller da...@davemloft.net 
 Cc: Peter Korsgaard jac...@sunsite.dk 
 Cc: Tony Prisk li...@prisktech.co.nz 
 Cc: linuxppc-dev@lists.ozlabs.org 
 Cc: linux-ser...@vger.kernel.org 
 Cc: nios2-...@sopc.et.ntust.edu.tw 
 Cc: linux-i...@vger.kernel.org 
 Cc: sparcli...@vger.kernel.org 
 Cc: linux-arm-ker...@lists.infradead.org 

  drivers/tty/serial/atmel_serial.c   |  6 +++---

Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

 diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c
 index 0244acf..444b544 100644
 --- a/drivers/tty/cyclades.c
 +++ b/drivers/tty/cyclades.c
 @@ -3099,7 +3099,7 @@ static const struct tty_port_operations cyz_port_ops = {
   * -
   */
  
 -static int __devinit cy_init_card(struct cyclades_card *cinfo)
 +static int cy_init_card(struct cyclades_card *cinfo)
  {
   struct cyclades_port *info;
   unsigned int channel, port;
 @@ -3196,7 +3196,7 @@ static int __devinit cy_init_card(struct cyclades_card 
 *cinfo)
  
  /* initialize chips on Cyclom-Y card -- return number of valid
 chips (which is number of ports/4) */
 -static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr,
 +static unsigned short cyy_init_card(void __iomem *true_base_addr,
   int index)
  {
   unsigned int chip_number;
 @@ -3405,7 +3405,7 @@ static int __init cy_detect_isa(void)
  }/* cy_detect_isa */
  
  #ifdef CONFIG_PCI
 -static inline int __devinit cyc_isfwstr(const char *str, unsigned int size)
 +static inline int cyc_isfwstr(const char *str, unsigned int size)
  {
   unsigned int a;
  
 @@ -3420,7 +3420,7 @@ static inline int __devinit cyc_isfwstr(const char 
 *str, unsigned int size)
   return 0;
  }
  
 -static inline void __devinit cyz_fpga_copy(void __iomem *fpga, const u8 
 *data,
 +static inline void cyz_fpga_copy(void __iomem *fpga, const u8 *data,
   unsigned int size)
  {
   for (; size  0; size--) {
 @@ -3429,7 +3429,7 @@ static inline void __devinit cyz_fpga_copy(void __iomem 
 *fpga, const u8 *data,
   }
  }
  
 -static void __devinit plx_init(struct pci_dev *pdev, int irq,
 +static void plx_init(struct pci_dev *pdev, int irq,
   struct RUNTIME_9060 __iomem *addr)
  {
   /* Reset PLX */
 @@ -3449,7 +3449,7 @@ static void __devinit plx_init(struct pci_dev *pdev, 
 int irq,
   pci_write_config_byte(pdev, PCI_INTERRUPT_LINE, irq);
  }
  
 -static int __devinit __cyz_load_fw(const struct firmware *fw,
 +static int __cyz_load_fw(const struct firmware *fw,
   const char *name, const u32 mailbox, void __iomem *base,
   void __iomem *fpga)
  {
 @@ -3526,7 +3526,7 @@ static int __devinit __cyz_load_fw(const struct 
 firmware *fw,
   return 0;
  }
  
 -static int __devinit cyz_load_fw(struct pci_dev *pdev, void __iomem 
 *base_addr,
 +static int cyz_load_fw(struct pci_dev *pdev, void __iomem *base_addr,
   struct RUNTIME_9060 __iomem *ctl_addr, int irq)
  {
   const struct firmware *fw;
 @@ -3692,7 +3692,7 @@ err:
   return retval;
  }
  
 -static int __devinit cy_pci_probe(struct pci_dev *pdev,
 +static int cy_pci_probe(struct pci_dev *pdev,
   const struct pci_device_id *ent)
  {
   struct cyclades_card *card;
 diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c
 index 4ab936b..65d4320 100644
 --- a/drivers/tty/ehv_bytechan.c
 +++ b/drivers/tty/ehv_bytechan.c
 @@ -699,7 +699,7 @@ static const struct tty_port_operations 
 ehv_bc_tty_port_ops = {
   .shutdown = ehv_bc_tty_port_shutdown,
  };
  
 -static int __devinit ehv_bc_tty_probe(struct platform_device *pdev)
 +static int ehv_bc_tty_probe(struct platform_device *pdev)
  {
   struct device_node *np = pdev-dev.of_node;
   struct ehv_bc_data *bc;
 diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c
 index f39337f..5ddd6f5 100644
 --- a/drivers/tty/hvc/hvc_opal.c
 +++ b/drivers/tty/hvc/hvc_opal.c
 @@ -161,7 +161,7 @@ static const struct hv_ops hvc_opal_hvsi_ops = {
   .tiocmset = hvc_opal_hvsi_tiocmset,
  };
  
 -static int __devinit hvc_opal_probe(struct platform_device *dev)
 +static int hvc_opal_probe(struct platform_device *dev)
  {
   const struct hv_ops *ops;
   struct hvc_struct *hp;
 diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c
 index 1a5894c..f7333e3 100644
 --- a/drivers/tty/hvc/hvc_vio.c
 +++ b/drivers/tty/hvc/hvc_vio.c
 @@ -293,7 +293,7 @@ static int udbg_hvc_getc(void)
   }
  }
  
 -static int __devinit hvc_vio_probe(struct vio_dev *vdev,
 +static int 

Re: [PATCH 161/493] tty: remove use of __devinit

2012-11-20 Thread Tobias Klauser
On 2012-11-19 at 19:21:50 +0100, Bill Pemberton wf...@virginia.edu wrote:
 CONFIG_HOTPLUG is going away as an option so __devinit is no longer
 needed.
 
 Signed-off-by: Bill Pemberton wf...@virginia.edu
 Cc: Jiri Slaby jirisl...@gmail.com 
 Cc: Alan Cox a...@linux.intel.com 
 Cc: Tobias Klauser tklau...@distanz.ch 
 Cc: Lucas Tavares luca...@linux.vnet.ibm.com 
 Cc: David S. Miller da...@davemloft.net 
 Cc: Peter Korsgaard jac...@sunsite.dk 
 Cc: Tony Prisk li...@prisktech.co.nz 
 Cc: linuxppc-dev@lists.ozlabs.org 
 Cc: linux-ser...@vger.kernel.org 
 Cc: nios2-...@sopc.et.ntust.edu.tw 
 Cc: linux-i...@vger.kernel.org 
 Cc: sparcli...@vger.kernel.org 
 Cc: linux-arm-ker...@lists.infradead.org 
 ---
[...]
  drivers/tty/serial/altera_jtaguart.c|  2 +-
  drivers/tty/serial/altera_uart.c|  2 +-

Acked-by: Tobias Klauser tklau...@distanz.ch
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[PATCH 161/493] tty: remove use of __devinit

2012-11-19 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton wf...@virginia.edu
Cc: Jiri Slaby jirisl...@gmail.com 
Cc: Alan Cox a...@linux.intel.com 
Cc: Tobias Klauser tklau...@distanz.ch 
Cc: Lucas Tavares luca...@linux.vnet.ibm.com 
Cc: David S. Miller da...@davemloft.net 
Cc: Peter Korsgaard jac...@sunsite.dk 
Cc: Tony Prisk li...@prisktech.co.nz 
Cc: linuxppc-dev@lists.ozlabs.org 
Cc: linux-ser...@vger.kernel.org 
Cc: nios2-...@sopc.et.ntust.edu.tw 
Cc: linux-i...@vger.kernel.org 
Cc: sparcli...@vger.kernel.org 
Cc: linux-arm-ker...@lists.infradead.org 
---
 drivers/tty/cyclades.c  | 16 
 drivers/tty/ehv_bytechan.c  |  2 +-
 drivers/tty/hvc/hvc_opal.c  |  2 +-
 drivers/tty/hvc/hvc_vio.c   |  2 +-
 drivers/tty/hvc/hvc_xen.c   |  2 +-
 drivers/tty/hvc/hvcs.c  |  8 
 drivers/tty/isicom.c|  6 +++---
 drivers/tty/moxa.c  |  2 +-
 drivers/tty/mxser.c |  6 +++---
 drivers/tty/nozomi.c|  2 +-
 drivers/tty/serial/8250/8250.c  |  2 +-
 drivers/tty/serial/8250/8250_acorn.c|  2 +-
 drivers/tty/serial/8250/8250_dw.c   |  2 +-
 drivers/tty/serial/8250/8250_em.c   |  2 +-
 drivers/tty/serial/8250/8250_hp300.c|  4 ++--
 drivers/tty/serial/8250/8250_pci.c  |  4 ++--
 drivers/tty/serial/8250/8250_pnp.c  |  8 
 drivers/tty/serial/altera_jtaguart.c|  2 +-
 drivers/tty/serial/altera_uart.c|  2 +-
 drivers/tty/serial/apbuart.c|  2 +-
 drivers/tty/serial/ar933x_uart.c|  2 +-
 drivers/tty/serial/arc_uart.c   | 10 +-
 drivers/tty/serial/atmel_serial.c   |  6 +++---
 drivers/tty/serial/bcm63xx_uart.c   |  2 +-
 drivers/tty/serial/bfin_sport_uart.c|  2 +-
 drivers/tty/serial/clps711x.c   |  2 +-
 drivers/tty/serial/cpm_uart/cpm_uart_core.c |  2 +-
 drivers/tty/serial/efm32-uart.c |  2 +-
 drivers/tty/serial/icom.c   | 10 +-
 drivers/tty/serial/ioc3_serial.c|  2 +-
 drivers/tty/serial/jsm/jsm_driver.c |  2 +-
 drivers/tty/serial/jsm/jsm_tty.c|  2 +-
 drivers/tty/serial/lpc32xx_hs.c |  2 +-
 drivers/tty/serial/max3100.c|  2 +-
 drivers/tty/serial/max310x.c|  6 +++---
 drivers/tty/serial/mcf.c|  2 +-
 drivers/tty/serial/mpc52xx_uart.c   |  2 +-
 drivers/tty/serial/mrst_max3110.c   |  2 +-
 drivers/tty/serial/msm_serial_hs.c  |  4 ++--
 drivers/tty/serial/mxs-auart.c  |  2 +-
 drivers/tty/serial/of_serial.c  |  4 ++--
 drivers/tty/serial/omap-serial.c|  6 +++---
 drivers/tty/serial/pch_uart.c   |  2 +-
 drivers/tty/serial/sa1100.c |  2 +-
 drivers/tty/serial/sc26xx.c |  4 ++--
 drivers/tty/serial/sccnxp.c |  2 +-
 drivers/tty/serial/serial_txx9.c|  6 +++---
 drivers/tty/serial/sh-sci.c | 14 +++---
 drivers/tty/serial/sunhv.c  |  2 +-
 drivers/tty/serial/sunsab.c |  4 ++--
 drivers/tty/serial/sunsu.c  |  6 +++---
 drivers/tty/serial/sunzilog.c   |  8 
 drivers/tty/serial/timbuart.c   |  2 +-
 drivers/tty/serial/uartlite.c   |  6 +++---
 drivers/tty/serial/vr41xx_siu.c |  4 ++--
 drivers/tty/serial/vt8500_serial.c  |  2 +-
 drivers/tty/serial/xilinx_uartps.c  |  2 +-
 drivers/tty/synclink.c  |  2 +-
 drivers/tty/synclink_gt.c   |  2 +-
 drivers/tty/synclinkmp.c|  2 +-
 60 files changed, 113 insertions(+), 113 deletions(-)

diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c
index 0244acf..444b544 100644
--- a/drivers/tty/cyclades.c
+++ b/drivers/tty/cyclades.c
@@ -3099,7 +3099,7 @@ static const struct tty_port_operations cyz_port_ops = {
  * -
  */
 
-static int __devinit cy_init_card(struct cyclades_card *cinfo)
+static int cy_init_card(struct cyclades_card *cinfo)
 {
struct cyclades_port *info;
unsigned int channel, port;
@@ -3196,7 +3196,7 @@ static int __devinit cy_init_card(struct cyclades_card 
*cinfo)
 
 /* initialize chips on Cyclom-Y card -- return number of valid
chips (which is number of ports/4) */
-static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr,
+static unsigned short cyy_init_card(void __iomem *true_base_addr,
int index)
 {
unsigned int chip_number;
@@ -3405,7 +3405,7 @@ static int __init cy_detect_isa(void)
 }  /* cy_detect_isa */
 
 #ifdef CONFIG_PCI