diff options
author | Olof Johansson <olof@lixom.net> | 2011-12-16 10:02:34 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-12-16 10:02:34 +0400 |
commit | 02735a29d8ce882ec698803f064e17888874780c (patch) | |
tree | 6a4afa3bc8b6d4334df24910a56f77adf126b0c7 /drivers/hwmon/sch5636.c | |
parent | 8d685b7f4d9c9882442bf1b492558d5f17b694fa (diff) | |
parent | 3d911ad22e8405c1a333a6812e405cb1a5ae9829 (diff) | |
download | linux-02735a29d8ce882ec698803f064e17888874780c.tar.xz |
Merge branch 'at91/defconfig' into next/cleanup
Diffstat (limited to 'drivers/hwmon/sch5636.c')
-rw-r--r-- | drivers/hwmon/sch5636.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/sch5636.c b/drivers/hwmon/sch5636.c index 244407aa79fc..9d5236fb09b4 100644 --- a/drivers/hwmon/sch5636.c +++ b/drivers/hwmon/sch5636.c @@ -521,19 +521,8 @@ static struct platform_driver sch5636_driver = { .remove = sch5636_remove, }; -static int __init sch5636_init(void) -{ - return platform_driver_register(&sch5636_driver); -} - -static void __exit sch5636_exit(void) -{ - platform_driver_unregister(&sch5636_driver); -} +module_platform_driver(sch5636_driver); MODULE_DESCRIPTION("SMSC SCH5636 Hardware Monitoring Driver"); MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>"); MODULE_LICENSE("GPL"); - -module_init(sch5636_init); -module_exit(sch5636_exit); |