lkml.org 
[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] clk: socfpga: stratix10: use platform driver APIs
Date
Quoting Dinh Nguyen (2018-05-02 07:28:32)
> -static int s10_clkmgr_init(struct device_node *np)
> +static int s10_clkmgr_init(struct platform_device *pdev)
> {
> struct stratix10_clock_data *clk_data;
>
> - clk_data = __socfpga_s10_clk_init(np, STRATIX10_NUM_CLKS);
> + clk_data = __socfpga_s10_clk_init(pdev, STRATIX10_NUM_CLKS);
> if (!clk_data)

And this needs to be updated to check for an error pointer, which I did.

\
 
 \ /
  Last update: 2018-05-15 23:55    [W:0.115 / U:1.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site