git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2830a6d
)
drivers/rtc/rtc-at91sam9.c: use module_platform_driver() macro
author
Devendra Naga
<develkernel412222@gmail.com>
Fri, 5 Oct 2012 00:13:54 +0000
(17:13 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:02 +0000
(
03:05
+0900)
This driver does seems to do only platform_driver_register in the init
function and platform_driver_unregister in the exit function,
so replace all this code including the module_init and module_exit with
module_platform_driver macro...
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-at91sam9.c
patch
|
blob
|
history
diff --cc
drivers/rtc/rtc-at91sam9.c
Simple merge