From: Dmitry Torokhov Date: Tue, 16 Dec 2014 23:09:37 +0000 (-0800) Subject: PM / OPP: fix warning in of_free_opp_table() X-Git-Tag: fixes-v4.0-rc1~361^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe30da2cb43782ee62d30c00a273d6934e5370e;p=pandora-kernel.git PM / OPP: fix warning in of_free_opp_table() Not having OPP defined for a device is not a crime, we should not splat warning in this case. Also, it seems that we are ready to accept invalid dev (find_device_opp will return ERR_PTR(-EINVAL) then) so let's not crash in dev_name() in such case. Signed-off-by: Dmitry Torokhov Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed