[PATCH V2 1/6] drivers: bus: add a new driver for WEIM
    Russell King - ARM Linux 
    linux at arm.linux.org.uk
       
    Thu May 23 20:19:21 EST 2013
    
    
  
On Thu, May 23, 2013 at 04:16:13PM +0800, Huang Shijie wrote:
> +	/* get the clock */
> +	weim->clk = devm_clk_get(&pdev->dev, NULL);
> +	if (IS_ERR(weim->clk))
> +		goto weim_err;
> +
> +	clk_prepare_enable(weim->clk);
I notice people are getting lazy about this.  clk_prepare_enable() can
return an error...
    
    
More information about the devicetree-discuss
mailing list