diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-27 08:52:21 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-28 15:18:18 +0200 |
commit | d708b384c06dddeb35d46a6127c08a7403fa2faf (patch) | |
tree | b64b0b9f614ed7432a03c1bb6e6b0b6820cede8d /drivers/base | |
parent | 46e7a4e18397649fe1b9007ad99707d960eb138e (diff) | |
download | op-kernel-dev-d708b384c06dddeb35d46a6127c08a7403fa2faf.zip op-kernel-dev-d708b384c06dddeb35d46a6127c08a7403fa2faf.tar.gz |
PM / OPP: -ENOSYS is applicable only to syscalls
Some of the routines have used -ENOSYS for the cases where the
functionality isn't implemented in the kernel. But ENOSYS is supposed to
be used only for syscalls.
Replace that with -ENOTSUPP, which specifically means that the operation
isn't supported.
While at it, replace exiting -EINVAL errors for similar cases to
-ENOTSUPP.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions