Tag: 156acb166ea9a43d7fcdf9b8051694ce4e91dbfc

PM / OPP: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

Author: Thomas Meyer <thomas@m3y3r.de> Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(…)) [The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/] Signed-off-by: Thomas Meyer Signed-off-by: Rafael J. Wysocki — drivers/base/power/opp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/base/power/opp.c b/drivers/base/power/opp.c …

Continue reading