Commit 8f4256b2 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Torvalds
Browse files

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c8d50041
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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",