summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/base/power/clock_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/base/power/clock_ops.c')
-rw-r--r--kernel/drivers/base/power/clock_ops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/drivers/base/power/clock_ops.c b/kernel/drivers/base/power/clock_ops.c
index c7b0fcebf..ac3c07db9 100644
--- a/kernel/drivers/base/power/clock_ops.c
+++ b/kernel/drivers/base/power/clock_ops.c
@@ -37,7 +37,7 @@ struct pm_clock_entry {
* @dev: The device for the given clock
* @ce: PM clock entry corresponding to the clock.
*/
-static inline int __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce)
+static inline void __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce)
{
int ret;
@@ -49,8 +49,6 @@ static inline int __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce)
dev_err(dev, "%s: failed to enable clk %p, error %d\n",
__func__, ce->clk, ret);
}
-
- return ret;
}
/**