serial: don't add msm_serial's probe function to the driver struct
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 16 Jul 2009 15:05:43 +0000 (16:05 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Jul 2009 16:19:16 +0000 (09:19 -0700)
commit8f4256b22c554f713ffdd395c1f2bfd53746cfc9
treebea08b4d561546e9a073b15a0cee74bc351c9562
parentc8d50041734534e0a4b0ea13df36ed5857fccd56
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>
drivers/serial/msm_serial.c