]> git.baikalelectronics.ru Git - uboot.git/commit
simple-pm-bus: Use -ENOSYS for checking missing system call
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:10 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commitf314d3f714795ffc6ee9865633f785efa6629afa
treedbc713e21cd941ae020a6b9e02125b5f49d11e17
parentc372eade5ca56afd69a9fc6a73013031bfc18a31
simple-pm-bus: Use -ENOSYS for checking missing system call

We don't need to check -ENOTSUPP since this is not used for this purpose
in U-Boot. Update the code accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/core/simple-pm-bus.c