]> git.karo-electronics.de Git - linux-beck.git/commit
reset: use ENOTSUPP instead of ENOSYS
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 29 Oct 2015 08:55:00 +0000 (09:55 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Nov 2015 08:23:47 +0000 (09:23 +0100)
commit39b4da71ca334354f30941067f214ea2f2b92f3e
treee92f8d26dfcaf88b09d75672939d7d38344c4339
parentfddad17ed11f1f3c2dd2f9b3b7691a097549c9f3
reset: use ENOTSUPP instead of ENOSYS

ENOSYS is reserved to report invalid syscalls to userspace.
Consistently return ENOTSUPP to indicate that the driver doesn't support
the functionality or the reset framework is not enabled at all.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c
include/linux/reset.h