projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
627f4b2
)
am7xxx: return EINVAL instead of ENOTSUP in am7xxx_get_device_info()
author
Antonio Ospite <ao2@ao2.it>
Tue, 27 Feb 2018 17:41:44 +0000
(18:41 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 27 Feb 2018 22:21:06 +0000
(23:21 +0100)
All the other error paths about invalid results or unsupported
operations return EINVAL, so remove the only instance of ENOTSUP.
Since the API documentation makes no promises on the actual negative
value of the returned error, this little change of behavior should be
fine.
No differences found