projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d5004
)
serial: don't add msm_serial's probe function to the driver struct
author
Uwe Kleine-König
<
[email protected]
>
Thu, 16 Jul 2009 15:05:43 +0000
(16:05 +0100)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Jul 2009 16:19:16 +0000
(09:19 -0700)
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 <
[email protected]
>
Signed-off-by: Alan Cox <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/serial/msm_serial.c
patch
|
blob
|
history
diff --git
a/drivers/serial/msm_serial.c
b/drivers/serial/msm_serial.c
index 698048f64f5e9aa0ef49d51578460978815b1dc6..f7c24baa141673a03084e3951b80d345c205d3c6 100644
(file)
--- 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",