clk: samsung: s3c2410: Remove usage of CLK_IS_BASIC
authorStephen Boyd <sboyd@kernel.org>
Fri, 30 Nov 2018 20:59:38 +0000 (12:59 -0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 10 Dec 2018 22:44:08 +0000 (14:44 -0800)
This flag doesn't look to be used by any code, just set in the clk init
structure and then never tested again. Remove it from this drivers as it
doesn't provide any benefit.

Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/samsung/clk-s3c2410-dclk.c

index 0d92f3e5e3d9b6bf4c7e9281a2cdbf2cc3eae2cd..82f8ae22fd34982e41411efb89180428946351f4 100644 (file)
@@ -105,7 +105,7 @@ static struct clk_hw *s3c24xx_register_clkout(struct device *dev,
 
        init.name = name;
        init.ops = &s3c24xx_clkout_ops;
-       init.flags = CLK_IS_BASIC;
+       init.flags = 0;
        init.parent_names = parent_names;
        init.num_parents = num_parents;