Commit aeca8ad1 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

gpio: remove use of __devinitdata

CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3836309d
...@@ -188,7 +188,7 @@ static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) ...@@ -188,7 +188,7 @@ static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset)
return da9052->irq_base + DA9052_IRQ_GPI0 + offset; return da9052->irq_base + DA9052_IRQ_GPI0 + offset;
} }
static struct gpio_chip reference_gp __devinitdata = { static struct gpio_chip reference_gp = {
.label = "da9052-gpio", .label = "da9052-gpio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.get = da9052_gpio_get, .get = da9052_gpio_get,
......
...@@ -559,7 +559,7 @@ static int lpc32xx_gpio_probe(struct platform_device *pdev) ...@@ -559,7 +559,7 @@ static int lpc32xx_gpio_probe(struct platform_device *pdev)
} }
#ifdef CONFIG_OF #ifdef CONFIG_OF
static struct of_device_id lpc32xx_gpio_of_match[] __devinitdata = { static struct of_device_id lpc32xx_gpio_of_match[] = {
{ .compatible = "nxp,lpc3220-gpio", }, { .compatible = "nxp,lpc3220-gpio", },
{ }, { },
}; };
......
...@@ -459,7 +459,7 @@ static struct platform_device_id mvebu_gpio_ids[] = { ...@@ -459,7 +459,7 @@ static struct platform_device_id mvebu_gpio_ids[] = {
}; };
MODULE_DEVICE_TABLE(platform, mvebu_gpio_ids); MODULE_DEVICE_TABLE(platform, mvebu_gpio_ids);
static struct of_device_id mvebu_gpio_of_match[] __devinitdata = { static struct of_device_id mvebu_gpio_of_match[] = {
{ {
.compatible = "marvell,orion-gpio", .compatible = "marvell,orion-gpio",
.data = (void*) MVEBU_GPIO_SOC_VARIANT_ORION, .data = (void*) MVEBU_GPIO_SOC_VARIANT_ORION,
......
...@@ -365,7 +365,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = { ...@@ -365,7 +365,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = {
.upper_offset = 0x80, .upper_offset = 0x80,
}; };
static struct of_device_id tegra_gpio_of_match[] __devinitdata = { static struct of_device_id tegra_gpio_of_match[] = {
{ .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config }, { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config },
{ .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config }, { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config },
{ }, { },
......
...@@ -209,7 +209,7 @@ static int xgpio_of_probe(struct device_node *np) ...@@ -209,7 +209,7 @@ static int xgpio_of_probe(struct device_node *np)
return 0; return 0;
} }
static struct of_device_id xgpio_of_match[] __devinitdata = { static struct of_device_id xgpio_of_match[] = {
{ .compatible = "xlnx,xps-gpio-1.00.a", }, { .compatible = "xlnx,xps-gpio-1.00.a", },
{ /* end of list */ }, { /* end of list */ },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment