diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 18:22:52 -0500 |
commit | 9671f09921d93e722a28ae9610d478e092ac5466 (patch) | |
tree | 3d2c5c8014d703b89061fd02e5362bf81a48a1f9 /drivers/tty/serial/max310x.c | |
parent | 2d47b7160243b1422006b91debf438484a4fde58 (diff) |
tty: 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: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r-- | drivers/tty/serial/max310x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a332327163a3..88a227f9fe8c 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c | |||
@@ -378,7 +378,7 @@ static void max310x_wait_pll(struct max310x_port *s) | |||
378 | } | 378 | } |
379 | } | 379 | } |
380 | 380 | ||
381 | static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | 381 | static int max310x_update_best_err(unsigned long f, long *besterr) |
382 | { | 382 | { |
383 | /* Use baudrate 115200 for calculate error */ | 383 | /* Use baudrate 115200 for calculate error */ |
384 | long err = f % (115200 * 16); | 384 | long err = f % (115200 * 16); |
@@ -391,7 +391,7 @@ static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | |||
391 | return 1; | 391 | return 1; |
392 | } | 392 | } |
393 | 393 | ||
394 | static int __devinit max310x_set_ref_clk(struct max310x_port *s) | 394 | static int max310x_set_ref_clk(struct max310x_port *s) |
395 | { | 395 | { |
396 | unsigned int div, clksrc, pllcfg = 0; | 396 | unsigned int div, clksrc, pllcfg = 0; |
397 | long besterr = -1; | 397 | long besterr = -1; |
@@ -995,7 +995,7 @@ static struct max310x_pdata generic_plat_data = { | |||
995 | .frequency = 26000000, | 995 | .frequency = 26000000, |
996 | }; | 996 | }; |
997 | 997 | ||
998 | static int __devinit max310x_probe(struct spi_device *spi) | 998 | static int max310x_probe(struct spi_device *spi) |
999 | { | 999 | { |
1000 | struct max310x_port *s; | 1000 | struct max310x_port *s; |
1001 | struct device *dev = &spi->dev; | 1001 | struct device *dev = &spi->dev; |