diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-09-21 16:40:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-28 16:14:55 +0300 |
commit | 20167b70c894f20cd01e2579fad206de440816ef (patch) | |
tree | 466e7e0f68f91bef8dd6ebb57eab3388a8f2e0dc /drivers/nvmem/core.c | |
parent | 165589f0cb52b34db12e15676a034b8f83dfa756 (diff) | |
download | linux-20167b70c894f20cd01e2579fad206de440816ef.tar.xz |
nvmem: use EOPNOTSUPP instead of ENOSYS
Checkpatch emits warnings when using ENOSYS. Some of the frameworks
started using EOPNOTSUPP as return values for API functions when given
subsystem is disabled in Kconfig.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/core.c')
0 files changed, 0 insertions, 0 deletions