[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1257616235-7840-1-git-send-email-tfransosi@gmail.com>
Date: Sat, 7 Nov 2009 12:50:35 -0500
From: Thiago Farina <tfransosi@...il.com>
To: linux-kernel@...r.kernel.org
Cc: rpurdie@...ys.net, gregkh@...e.de, yuasa@...ux-mips.org,
ralf@...ux-mips.org, Thiago Farina <tfransosi@...il.com>
Subject: [PATCH] leds: add exit function to cobalt-raq led.
Signed-off-by: Thiago Farina <tfransosi@...il.com>
---
drivers/leds/leds-cobalt-raq.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c
index defc212..e43fcb2 100644
--- a/drivers/leds/leds-cobalt-raq.c
+++ b/drivers/leds/leds-cobalt-raq.c
@@ -135,4 +135,15 @@ static int __init cobalt_raq_led_init(void)
return platform_driver_register(&cobalt_raq_led_driver);
}
+static void __exit cobalt_raq_led_exit(void)
+{
+ platform_driver_unregister(&cobalt_raq_led_driver);
+}
+
module_init(cobalt_raq_led_init);
+module_exit(cobalt_raq_led_exit);
+
+MODULE_AUTHOR("Yoichi Yuasa <yuasa@...ux-mips.org>");
+MODULE_DESCRIPTION("LEDs driver for the Cobalt Raq series.");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:cobalt-raq-leds");
--
1.6.5.2.150.g1b52a
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists