Merge branches 'pm-domains', 'pm-sleep' and 'pm-cpufreq'
[muen/linux.git] / drivers / base / power / domain.c
index 2ac906288a6fe5ea27a266b0f08a6cea5af412f8..7f374233b4980ee5d551670d7004896a8b7c1ef3 100644 (file)
@@ -1690,8 +1690,6 @@ static struct generic_pm_domain *genpd_xlate_simple(
                                        struct of_phandle_args *genpdspec,
                                        void *data)
 {
                                        struct of_phandle_args *genpdspec,
                                        void *data)
 {
-       if (genpdspec->args_count != 0)
-               return ERR_PTR(-EINVAL);
        return data;
 }
 
        return data;
 }