diff options
author | Moti Haimovski <mhaimovski@habana.ai> | 2020-01-23 18:03:04 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-03-24 10:54:16 +0200 |
commit | d57b83c3dfe55747f1a43f9d9fbadeff7b5a3cd5 (patch) | |
tree | c1447e4535ff60ffc26edf558ecdba112d0b23b2 /net/wireless/trace.h | |
parent | 5557b138dc11a1b93fec69c7d8760d38fc56e580 (diff) |
habanalabs: modify the return values of hl_read/write routines
The hl read and write routines implement the hwmon_ops read and write
interface routines respectively.
These routines are expected to return a completion status when called,
which was not the case until this commit.
This commit modifies these routines to return 0 upon success and a
negative error value upon failure.
Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'net/wireless/trace.h')
0 files changed, 0 insertions, 0 deletions