summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-27 08:52:21 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 15:18:18 +0200
commitd708b384c06dddeb35d46a6127c08a7403fa2faf (patch)
treeb64b0b9f614ed7432a03c1bb6e6b0b6820cede8d /drivers/base
parent46e7a4e18397649fe1b9007ad99707d960eb138e (diff)
downloadop-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
OpenPOWER on IntegriCloud