Re: [PATCH] PM / OPP: -ENOSYS is applicable only to syscalls

Rafael J. Wysocki
2016-04-22T12:39:39Z

On Friday, April 22, 2016 08:46:51 AM Viresh Kumar wrote:
> Some of the routines have use -ENOSYS, which is supposed to be used only
> for syscalls. Replace that with -EINVAL.

-EINVAL specifically means "invalid argument".

What about using -ENXIO instead?