[adm5120] don't use mips_machgroup
[openwrt.git] / target / linux / adm5120 / files / drivers / leds / leds-adm5120.c
index 9bd3af6..54783ab 100644 (file)
@@ -6,20 +6,9 @@
  *  Copyright (C) 2007,2008 OpenWrt.org
  *  Copyright (C) 2007,2008 Gabor Juhos <juhosg at openwrt.org>
  *
- *  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 Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the
- *  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- *  Boston, MA  02110-1301, USA.
+ *  This program is free software; you can redistribute it and/or modify it
+ *  under the terms of the GNU General Public License version 2 as published
+ *  by the Free Software Foundation.
  *
  */
 
@@ -338,11 +327,6 @@ adm5120_leds_init(void)
        struct mach_data *mach;
        int i, ret;
 
-       if (mips_machgroup != MACH_GROUP_ADM5120) {
-               ret = -EINVAL;
-               goto err;
-       }
-
        mach = adm5120_leds_findmach(mips_machtype);
        if (mach == NULL) {
                printk(KERN_ERR "leds-adm5120: unsupported board\n");
@@ -394,5 +378,5 @@ module_exit(adm5120_leds_exit);
 
 MODULE_AUTHOR("Gabor Juhos <juhosg at openwrt.org>");
 MODULE_DESCRIPTION(DRV_DESC);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 
This page took 0.022817 seconds and 4 git commands to generate.