commit | 41dfd908fc09e0e57f8f44fdcf543348cd5f249c | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Jul 17 10:48:27 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 21 13:43:20 2014 +0200 |
tree | 0f5238edcdacf273abdc17ed676c818fddd36cdd | |
parent | 1461dc7d1c252fbeb5baee0c94b5b28b7966e125 [diff] |
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 <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>