summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@rjwysocki.net>2018-08-31 01:23:31 +0200
committerRafael J. Wysocki <rjw@rjwysocki.net>2018-08-31 01:23:31 +0200
commita0b9c4de7bf3dacc32a7e70fff25e158a0bf848f (patch)
treeaf25d7fc224356495918b59edcff69c1152d6e8d
parent757ab15c3f4968b5a29caf3fe8b67660ce84c3cd (diff)
parent5e2e2f9f76e157063a656351728703cb02b068f1 (diff)
Merge branch 'pm-core'
Merge a generic clock management fix for 4.19-rc2. * pm-core: PM / clk: signedness bug in of_pm_clk_add_clks()
-rw-r--r--drivers/base/power/clock_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/clock_ops.c b/drivers/base/power/clock_ops.c
index 8e2e4757adcb..5a42ae4078c2 100644
--- a/drivers/base/power/clock_ops.c
+++ b/drivers/base/power/clock_ops.c
@@ -185,7 +185,7 @@ EXPORT_SYMBOL_GPL(of_pm_clk_add_clk);
int of_pm_clk_add_clks(struct device *dev)
{
struct clk **clks;
- unsigned int i, count;
+ int i, count;
int ret;
if (!dev || !dev->of_node)