From 3ba88b42a6322029856fc9524e4c829bd0b9fe70 Mon Sep 17 00:00:00 2001 From: Ohad Ben-Cohen Date: Tue, 13 Dec 2011 14:41:47 +0200 Subject: [PATCH] --- yaml --- r: 295987 b: refs/heads/master c: 63d667bf53c444082b053d95ddc4d54f3dbe8f52 h: refs/heads/master i: 295985: 47bd289944c2eddcb18a79dcf07cde4ae09ccb6c 295983: 7a6e12ce56c4a901ff7057de4b8d7134ed2679da v: v3 --- [refs] | 2 +- trunk/drivers/remoteproc/omap_remoteproc.c | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/[refs] b/[refs] index 27102fd1b0d0..ec052a911508 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2fd51811b8b87408fd680b442364e3474a1a0f21 +refs/heads/master: 63d667bf53c444082b053d95ddc4d54f3dbe8f52 diff --git a/trunk/drivers/remoteproc/omap_remoteproc.c b/trunk/drivers/remoteproc/omap_remoteproc.c index b49ecbb91ef3..aa3ce52dc65e 100644 --- a/trunk/drivers/remoteproc/omap_remoteproc.c +++ b/trunk/drivers/remoteproc/omap_remoteproc.c @@ -232,18 +232,7 @@ static struct platform_driver omap_rproc_driver = { }, }; -/* most of the below will go when module_platform_driver is merged */ -static int __init omap_rproc_init(void) -{ - return platform_driver_register(&omap_rproc_driver); -} -module_init(omap_rproc_init); - -static void __exit omap_rproc_exit(void) -{ - platform_driver_unregister(&omap_rproc_driver); -} -module_exit(omap_rproc_exit); +module_platform_driver(omap_rproc_driver); MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("OMAP Remote Processor control driver");