]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
gpio: remove use of __devinitdata
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:24:14 +0000 (13:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:39:59 +0000 (11:39 -0800)
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-da9052.c
drivers/gpio/gpio-lpc32xx.c
drivers/gpio/gpio-mvebu.c
drivers/gpio/gpio-tegra.c
drivers/gpio/gpio-xilinx.c

index 5d2bc81d6f84ee694c2fecbddef6ca41026fa732..2139825c4d59a05831b367e8541c3f631a2c2ca5 100644 (file)
@@ -188,7 +188,7 @@ static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 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",
        .owner = THIS_MODULE,
        .get = da9052_gpio_get,
index 9f676f4629f102ea9b07d760cc4ad8fa72c7034d..36d7dee07b28c9b1e66df8edf6699168fdf0a00f 100644 (file)
@@ -559,7 +559,7 @@ static int lpc32xx_gpio_probe(struct platform_device *pdev)
 }
 
 #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", },
        { },
 };
index 88ad416c2bb02a8239c4cf0f1003cf5d069ad129..f2a04ba0ca6c0ed3f0443fce202ad80cee5b4eb7 100644 (file)
@@ -459,7 +459,7 @@ static struct platform_device_id 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",
                .data       = (void*) MVEBU_GPIO_SOC_VARIANT_ORION,
index 45105a26d4bb773e49959022477f7f8d10778b8d..4cd3e1df05d8c80b732827d3d9ef88a25bd84240 100644 (file)
@@ -365,7 +365,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = {
        .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,tegra20-gpio", .data = &tegra20_gpio_config },
        { },
index 5a35138eeadee6148129da98d992464d3ee14c23..9ae7aa8ca48a22657a26be52e791d034569af98b 100644 (file)
@@ -209,7 +209,7 @@ static int xgpio_of_probe(struct device_node *np)
        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", },
        { /* end of list */ },
 };