Merge branches 'pm-domains', 'pm-avs' and 'powercap'
[sfrench/cifs-2.6.git] / drivers / base / power / domain.c
index e342408cfb8d29028a3f3bd17fb8b50197da308b..b8e4b966c74dc393b473da4f0074b802b8add5f8 100644 (file)
@@ -1689,8 +1689,6 @@ static struct generic_pm_domain *genpd_xlate_simple(
                                        struct of_phandle_args *genpdspec,
                                        void *data)
 {
-       if (genpdspec->args_count != 0)
-               return ERR_PTR(-EINVAL);
        return data;
 }