Skip to content

Commit

Permalink
serial: don't add msm_serial's probe function to the driver struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and torvalds committed Jul 16, 2009
1 parent c8d5004 commit 8f4256b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/serial/msm_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8f4256b

Please sign in to comment.