]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: mt7621-pinctrl: replace ENOSYS with better fitting error code
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 8 Jun 2018 12:16:34 +0000 (14:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:46:05 +0000 (21:46 +0900)
commit32c6dcffdd20e8697ca5f2ce13f9bfbc582f1caf
treef206d9a916c9a2dc6295ef4d4ef23b23bcdb4981
parent63e57b953f747ce39f8de51548b4e584f00273ae
staging: mt7621-pinctrl: replace ENOSYS with better fitting error code

This commit replaces ENOSYS return with ENOTSUPP silencing the
following checkpatch warning:

WARNING: ENOSYS means 'invalid syscall nr' and nothing else
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c