gpio: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Kevin Hilman <khilman@ti.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
8283c4ff57
commit
3836309d93
@@ -267,7 +267,7 @@ static irqreturn_t stmpe_gpio_irq(int irq, void *dev)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio)
|
||||
static int stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio)
|
||||
{
|
||||
int base = stmpe_gpio->irq_base;
|
||||
int irq;
|
||||
@@ -301,7 +301,7 @@ static void stmpe_gpio_irq_remove(struct stmpe_gpio *stmpe_gpio)
|
||||
}
|
||||
}
|
||||
|
||||
static int __devinit stmpe_gpio_probe(struct platform_device *pdev)
|
||||
static int stmpe_gpio_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent);
|
||||
struct stmpe_gpio_platform_data *pdata;
|
||||
|
Reference in New Issue
Block a user