We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c59a01 commit f816ac1Copy full SHA for f816ac1
drivers/clk/mvebu/armada-37xx-tbg.c
@@ -87,7 +87,7 @@ static int armada_3700_tbg_clock_probe(struct platform_device *pdev)
87
struct resource *res;
88
struct clk *parent;
89
void __iomem *reg;
90
- int i, ret;
+ int i;
91
92
hw_tbg_data = devm_kzalloc(&pdev->dev,
93
struct_size(hw_tbg_data, hws, NUM_TBG),
@@ -123,9 +123,7 @@ static int armada_3700_tbg_clock_probe(struct platform_device *pdev)
123
dev_err(dev, "Can't register TBG clock %s\n", name);
124
}
125
126
- ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, hw_tbg_data);
127
-
128
- return ret;
+ return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, hw_tbg_data);
129
130
131
static int armada_3700_tbg_clock_remove(struct platform_device *pdev)
0 commit comments