Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / APD: Remove CLK_IS_ROOT

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Stephen Boyd and committed by
Rafael J. Wysocki
cdd9a6b2 3db80c23

+1 -2
+1 -2
drivers/acpi/acpi_apd.c
··· 62 62 if (dev_desc->fixed_clk_rate) { 63 63 clk = clk_register_fixed_rate(&pdata->adev->dev, 64 64 dev_name(&pdata->adev->dev), 65 - NULL, CLK_IS_ROOT, 66 - dev_desc->fixed_clk_rate); 65 + NULL, 0, dev_desc->fixed_clk_rate); 67 66 clk_register_clkdev(clk, NULL, dev_name(&pdata->adev->dev)); 68 67 pdata->clk = clk; 69 68 }