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

Configure Feed

Select the types of activity you want to include in your feed.

video: fbdev: omapfb: simplify the return expression of dsi_init_pll_data()

Simplify the return expression.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Minghao Chi and committed by
Helge Deller
b93a85c1 b23789a5

+1 -7
+1 -7
drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c
··· 173 173 { 174 174 struct dss_pll *pll = &hpll->pll; 175 175 struct clk *clk; 176 - int r; 177 176 178 177 clk = devm_clk_get(&pdev->dev, "sys_clk"); 179 178 if (IS_ERR(clk)) { ··· 202 203 } 203 204 204 205 pll->ops = &dsi_pll_ops; 205 - 206 - r = dss_pll_register(pll); 207 - if (r) 208 - return r; 209 - 210 - return 0; 206 + return dss_pll_register(pll); 211 207 } 212 208 213 209 int hdmi_pll_init(struct platform_device *pdev, struct hdmi_pll_data *pll,