On 10/24/2016 12:36 PM, Dan Carpenter wrote:
On Sun, Oct 23, 2016 at 10:12:49AM +0200, Christophe JAILLET wrote:In this particular case propagate the error returned by clk_register().
clk_register_pll() can return ERR_PTR(-ENOMEM) so here the check againstChange the ERR_PTR(-ENOMEM) to a NULL instead.
NULL only is not correct.
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html