diff options
Diffstat (limited to 'drivers/opp/of.c')
| -rw-r--r-- | drivers/opp/of.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/opp/of.c b/drivers/opp/of.c index 6ea3b1bd6280..f96adfd5b219 100644 --- a/drivers/opp/of.c +++ b/drivers/opp/of.c @@ -303,8 +303,7 @@ static int _of_opp_alloc_required_opps(struct opp_table *opp_table, if (!count) return 0; - opp->required_opps = kzalloc_objs(*opp->required_opps, count, - GFP_KERNEL); + opp->required_opps = kzalloc_objs(*opp->required_opps, count); if (!opp->required_opps) return -ENOMEM; |
