kernel: generic: update the ehci overcurrent patch to upstream submission
[openwrt.git] / target / linux / generic / patches-3.8 / 862-gpio_spi_driver.patch
index 86ae86df829772efbc32460909a0652187b37974..e68f808c3f4cc91d698c9b331599db17dd5e7faa 100644 (file)
@@ -286,7 +286,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29.
 +      return err;
 +}
 +
-+static int __devexit spi_gpio_remove(struct platform_device *pdev)
++static int spi_gpio_remove(struct platform_device *pdev)
 +{
 +      struct spi_gpio *sp;
 +      struct spi_gpio_platform_data *pdata;
@@ -310,7 +310,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29.
 +              .owner  = THIS_MODULE,
 +      },
 +      .probe          = spi_gpio_probe,
-+      .remove         = __devexit_p(spi_gpio_remove),
++      .remove         = spi_gpio_remove,
 +};
 +
 +int spi_gpio_next_id(void)