summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2015-04-30 21:44:39 +0200
committerpopcornmix <popcornmix@gmail.com>2015-05-18 14:13:05 +0100
commit28d0e06ef3f53a3b0db2da3de428431e49043ba4 (patch)
tree3a14378cb82faf4d1e15cf74caaec1e21ec40967
parentd704ecf53ad79066ca5439fd3accadd1f2834264 (diff)
downloadlinux-28d0e06ef3f53a3b0db2da3de428431e49043ba4.tar.gz
BCM2708: vcio: Do not print messages in module init
It is not common practice to print messages from a module init function that only register a driver. Remove obsolete module alias. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-rw-r--r--arch/arm/mach-bcm2708/vcio.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-bcm2708/vcio.c b/arch/arm/mach-bcm2708/vcio.c
index e67fa3e792ee..ff50ebdc795d 100644
--- a/arch/arm/mach-bcm2708/vcio.c
+++ b/arch/arm/mach-bcm2708/vcio.c
@@ -403,15 +403,7 @@ static struct platform_driver bcm_mbox_driver = {
static int __init bcm_mbox_init(void)
{
- int ret;
-
- pr_info("mailbox: Broadcom VideoCore Mailbox driver\n");
-
- ret = platform_driver_register(&bcm_mbox_driver);
- if (ret)
- pr_err(DRIVER_NAME ": failed to register on platform\n");
-
- return ret;
+ return platform_driver_register(&bcm_mbox_driver);
}
static void __exit bcm_mbox_exit(void)
@@ -425,4 +417,3 @@ module_exit(bcm_mbox_exit);
MODULE_AUTHOR("Gray Girling");
MODULE_DESCRIPTION("ARM I/O to VideoCore processor");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:bcm-mbox");