aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power/domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/power/domain.c')
-rw-r--r--drivers/base/power/domain.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index ad196427b4f2..da49a8383dc3 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1636,8 +1636,6 @@ static struct generic_pm_domain *genpd_xlate_simple(
1636 struct of_phandle_args *genpdspec, 1636 struct of_phandle_args *genpdspec,
1637 void *data) 1637 void *data)
1638{ 1638{
1639 if (genpdspec->args_count != 0)
1640 return ERR_PTR(-EINVAL);
1641 return data; 1639 return data;
1642} 1640}
1643 1641