On Wed, May 16, 2018 at 2:01 AM, Grygorii Strashko
<grygorii.strashko@xxxxxx> wrote:
This fixes klockworks warnings: Pointer 'dev' returned from call to
function 'bus_find_device' at line 179 may be NULL and will be dereferenced
at line 181.
+ dev_err(dev, "unable to find platform device for %s\n",
+ of_node_full_name(node));
Sorry, isn't %pOF works for this?