diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-07-16 17:05:43 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-16 18:19:16 +0200 |
commit | 8f4256b22c554f713ffdd395c1f2bfd53746cfc9 (patch) | |
tree | bea08b4d561546e9a073b15a0cee74bc351c9562 /drivers/serial | |
parent | tty: fix close/hangup race (diff) | |
download | linux-8f4256b22c554f713ffdd395c1f2bfd53746cfc9.tar.xz linux-8f4256b22c554f713ffdd395c1f2bfd53746cfc9.zip |
serial: don't add msm_serial's probe function to the driver struct
msm_serial_driver is registered using platform_driver_probe which takes
care for the probe function itself. So don't pass it in the driver
struct, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/msm_serial.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/serial/msm_serial.c b/drivers/serial/msm_serial.c index 698048f64f5e..f7c24baa1416 100644 --- a/drivers/serial/msm_serial.c +++ b/drivers/serial/msm_serial.c @@ -730,7 +730,6 @@ static int __devexit msm_serial_remove(struct platform_device *pdev) } static struct platform_driver msm_platform_driver = { - .probe = msm_serial_probe, .remove = msm_serial_remove, .driver = { .name = "msm_serial", |