]> git.baikalelectronics.ru Git - kernel.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)
commit39b7f79103b854eabac27dfe6196a48a30130b8c
treee92f8d26dfcaf88b09d75672939d7d38344c4339
parent5ad9b1be8e70ceab5bd86ec5c5234bdca7d9a9be
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