pinctrl: meson: fix incorrect usage of ENOSYS
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 20 Sep 2017 14:08:15 +0000 (16:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Sep 2017 12:18:12 +0000 (14:18 +0200)
commit1ffbf50b745b63f8eba6153b4fe04c59e718a14b
treec03b5d34b40f7a5d04138d929dfb71c2b559d96e
parentb582658ae00ded3058618252d40ed480870ee18b
pinctrl: meson: fix incorrect usage of ENOSYS

ENOSYS is special and should only be used for incorrect syscall number.
It is not the case here. let's use ENOTSUPP instead.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson.c