commit | d24c4ef430741af6fe263a6870890aeb0d201912 | [log] [tgz] |
---|---|---|
author | Anas Nashif <anas.nashif@intel.com> | Wed Mar 24 13:47:17 2021 -0400 |
committer | Maureen Helm <maureen.helm@nxp.com> | Tue Mar 30 10:50:14 2021 -0500 |
tree | 0d7fd3441ea48b8f9864833ab461d1dfe4ede015 | |
parent | 0e3b774b80784fe228cd0389d61fe4195f4e440b [diff] |
drivers: kscan: fix NOTSUP vs NOSYS usage Return -ENOSYS when implementation is missing and -ENOTSUP if the feature is not supported. Those are 2 things. Missing implementation (-ENOSYS) means that the driver is lacking support for the feature, -ENOTSUP means we have an implementation but some parameters or conditions makes the request unsupported. Signed-off-by: Anas Nashif <anas.nashif@intel.com>