Commit cdd9a6b2 authored by Stephen Boyd's avatar Stephen Boyd Committed by Rafael J. Wysocki

ACPI / APD: Remove CLK_IS_ROOT

This flag is a no-op now (see commit 47b0eeb3 "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 3db80c23
...@@ -62,8 +62,7 @@ static int acpi_apd_setup(struct apd_private_data *pdata) ...@@ -62,8 +62,7 @@ static int acpi_apd_setup(struct apd_private_data *pdata)
if (dev_desc->fixed_clk_rate) { if (dev_desc->fixed_clk_rate) {
clk = clk_register_fixed_rate(&pdata->adev->dev, clk = clk_register_fixed_rate(&pdata->adev->dev,
dev_name(&pdata->adev->dev), dev_name(&pdata->adev->dev),
NULL, CLK_IS_ROOT, NULL, 0, dev_desc->fixed_clk_rate);
dev_desc->fixed_clk_rate);
clk_register_clkdev(clk, NULL, dev_name(&pdata->adev->dev)); clk_register_clkdev(clk, NULL, dev_name(&pdata->adev->dev));
pdata->clk = clk; pdata->clk = clk;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment