mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
c8d5004173
commit
8f4256b22c
1 changed files with 0 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue