diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:39:33 -0500 |
commit | 3836309d93462bbf34851c078be6e5e77d888e3d (patch) | |
tree | 5b391233266d03b38f7840f960b88c3685331ff4 /drivers/gpio/gpio-janz-ttl.c | |
parent | 8283c4ff57bdf3c1d8985c86e4ef44e1bb70f1f6 (diff) |
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>
Diffstat (limited to 'drivers/gpio/gpio-janz-ttl.c')
-rw-r--r-- | drivers/gpio/gpio-janz-ttl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c index 365dd040445b..cd28270672f2 100644 --- a/drivers/gpio/gpio-janz-ttl.c +++ b/drivers/gpio/gpio-janz-ttl.c | |||
@@ -108,13 +108,13 @@ static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value) | |||
108 | spin_unlock(&mod->lock); | 108 | spin_unlock(&mod->lock); |
109 | } | 109 | } |
110 | 110 | ||
111 | static void __devinit ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) | 111 | static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) |
112 | { | 112 | { |
113 | iowrite16be(reg, &mod->regs->control); | 113 | iowrite16be(reg, &mod->regs->control); |
114 | iowrite16be(val, &mod->regs->control); | 114 | iowrite16be(val, &mod->regs->control); |
115 | } | 115 | } |
116 | 116 | ||
117 | static void __devinit ttl_setup_device(struct ttl_module *mod) | 117 | static void ttl_setup_device(struct ttl_module *mod) |
118 | { | 118 | { |
119 | /* reset the device to a known state */ | 119 | /* reset the device to a known state */ |
120 | iowrite16be(0x0000, &mod->regs->control); | 120 | iowrite16be(0x0000, &mod->regs->control); |
@@ -140,7 +140,7 @@ static void __devinit ttl_setup_device(struct ttl_module *mod) | |||
140 | ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE); | 140 | ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE); |
141 | } | 141 | } |
142 | 142 | ||
143 | static int __devinit ttl_probe(struct platform_device *pdev) | 143 | static int ttl_probe(struct platform_device *pdev) |
144 | { | 144 | { |
145 | struct janz_platform_data *pdata; | 145 | struct janz_platform_data *pdata; |
146 | struct device *dev = &pdev->dev; | 146 | struct device *dev = &pdev->dev; |