diff options
| author | Viresh Kumar <[email protected]> | 2016-04-27 03:22:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-04-28 13:18:18 +0000 |
| commit | d708b384c06dddeb35d46a6127c08a7403fa2faf (patch) | |
| tree | b64b0b9f614ed7432a03c1bb6e6b0b6820cede8d /drivers/firmware/psci.c | |
| parent | PM / OPP: Mark shared-opp for non-dt case (diff) | |
| download | kernel-d708b384c06dddeb35d46a6127c08a7403fa2faf.tar.gz kernel-d708b384c06dddeb35d46a6127c08a7403fa2faf.zip | |
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/firmware/psci.c')
0 files changed, 0 insertions, 0 deletions
