diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-07-17 10:48:27 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-21 13:43:20 +0200 |
commit | 41dfd908fc09e0e57f8f44fdcf543348cd5f249c (patch) | |
tree | 0f5238edcdacf273abdc17ed676c818fddd36cdd /drivers/cpufreq/speedstep-centrino.c | |
parent | 1461dc7d1c252fbeb5baee0c94b5b28b7966e125 (diff) | |
download | linux-41dfd908fc09e0e57f8f44fdcf543348cd5f249c.tar.gz linux-41dfd908fc09e0e57f8f44fdcf543348cd5f249c.tar.bz2 linux-41dfd908fc09e0e57f8f44fdcf543348cd5f249c.zip |
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>
Diffstat (limited to 'drivers/cpufreq/speedstep-centrino.c')
0 files changed, 0 insertions, 0 deletions