question about clk_get_parent

From: Julia Lawall
Date: Thu Nov 10 2016 - 15:55:22 EST


As far as I can see in the various definitions of clk_get_parent, they all
return either NULL or a value stored in a structure field. But the
documentation with the prototype in includ/linux/clk.h says that it
returns a valid IS_ERR() condition containing errno. Are ERR_PTR values
stored in the structure fields?

thanks,
julia