Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28eb0e46 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

MIPS: drivers: remove __dev* attributes.



CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cad5cef6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ void octeon_serial_out(struct uart_port *up, int offset, int value)
	cvmx_write_csr((uint64_t)(up->membase + (offset << 3)), (u8)value);
}

static int __devinit octeon_serial_probe(struct platform_device *pdev)
static int octeon_serial_probe(struct platform_device *pdev)
{
	int irq, res;
	struct resource *res_mem;
+2 −2
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
extern char * (*pcibios_plat_setup)(char *str);

/* this function parses memory ranges from a device node */
extern void __devinit pci_load_of_ranges(struct pci_controller *hose,
extern void pci_load_of_ranges(struct pci_controller *hose,
			       struct device_node *node);

#endif /* _ASM_PCI_H */
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
}

/* preload SMP state for boot cpu */
void __devinit smp_prepare_boot_cpu(void)
void smp_prepare_boot_cpu(void)
{
	set_cpu_possible(0, true);
	set_cpu_online(0, true);
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ ltq_dma_init_port(int p)
}
EXPORT_SYMBOL_GPL(ltq_dma_init_port);

static int __devinit
static int
ltq_dma_init(struct platform_device *pdev)
{
	struct clk *clk;
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ static inline void clkdev_add_gptu(struct device *dev, const char *con,
	clkdev_add(&clk->cl);
}

static int __devinit gptu_probe(struct platform_device *pdev)
static int gptu_probe(struct platform_device *pdev)
{
	struct clk *clk;
	struct resource *res;
Loading