]> Git Repo - linux.git/blobdiff - drivers/gpio/gpio-tps65910.c
gpio: of: drop needless gpio_chip look-up in of_parse_own_gpio()
[linux.git] / drivers / gpio / gpio-tps65910.c
index cdbd7c7400432bcaa151bae36bd6c5207bcb0bf3..e63d7dabf78b1e61482cc5716b69640efa5d9c9c 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2010 Texas Instruments Inc.
  *
  * Author: Graeme Gregory <[email protected]>
- * Author: Jorge Eduardo Candelaria [email protected]>
+ * Author: Jorge Eduardo Candelaria <[email protected]>
  *
  *  This program is free software; you can redistribute it and/or modify it
  *  under  the terms of the GNU General  Public License as published by the
@@ -14,7 +14,7 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/gpio.h>
 #include <linux/i2c.h>
@@ -184,7 +184,6 @@ skip_init:
 
 static struct platform_driver tps65910_gpio_driver = {
        .driver.name    = "tps65910-gpio",
-       .driver.owner   = THIS_MODULE,
        .probe          = tps65910_gpio_probe,
 };
 
@@ -193,15 +192,3 @@ static int __init tps65910_gpio_init(void)
        return platform_driver_register(&tps65910_gpio_driver);
 }
 subsys_initcall(tps65910_gpio_init);
-
-static void __exit tps65910_gpio_exit(void)
-{
-       platform_driver_unregister(&tps65910_gpio_driver);
-}
-module_exit(tps65910_gpio_exit);
-
-MODULE_AUTHOR("Graeme Gregory <[email protected]>");
-MODULE_AUTHOR("Jorge Eduardo Candelaria [email protected]>");
-MODULE_DESCRIPTION("GPIO interface for TPS65910/TPS6511 PMICs");
-MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:tps65910-gpio");
This page took 0.031796 seconds and 4 git commands to generate.