From: Viresh Kumar Date: Thu, 17 Jul 2014 05:18:27 +0000 (+0530) Subject: cpufreq: propagate error returned by kobject_move() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41dfd908fc09e0e57f8f44fdcf543348cd5f249c;p=pandora-kernel.git cpufreq: propagate error returned by kobject_move() We are returning -EINVAL instead of the error returned from kobject_move() when it fails. Propagate the actual error number. Also add a meaningful print when sysfs_create_link() fails. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed