commit | a6eed752f5fb40990eb28fddb2b93258fb7e3be0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 21 19:26:02 2015 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Oct 09 22:17:34 2015 +0200 |
tree | 8f70379f4e4d35cd6d20f49164a07cea9262049b | |
parent | f59d3ee8480d30f41914cb4bed5086237e8507b0 [diff] |
PM / OPP: passing NULL to PTR_ERR() The code was using PTR_ERR(NULL) which causes a static checker warning. I have fixed up the printks and changed the return to -ENOENT. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>