diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-06-01 14:39:26 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-02 16:58:21 +0000 |
commit | e5dc5e7ae3679f92e3982be3dd294ce9e3c8b597 (patch) | |
tree | 52ceebdaf09fc7e84690bc3b5a8cf786a91645d7 /include/usb_charge.h | |
parent | bc8dd35b3a0d5b24ca5df78ab9b308f2cf480a03 (diff) | |
download | chrome-ec-e5dc5e7ae3679f92e3982be3dd294ce9e3c8b597.tar.gz |
task: change task_set_event return type to void
No implementation does nothing other than return 0 on task_set_event(),
change the return type to void so that the API is clear.
BRANCH=none
BUG=none
TEST=cq dry run
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I88b20f53aa6dffa291ce78f4776888b21985f57f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3683769
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/usb_charge.h')
-rw-r--r-- | include/usb_charge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_charge.h b/include/usb_charge.h index a5284512fd..ec7a655256 100644 --- a/include/usb_charge.h +++ b/include/usb_charge.h @@ -174,7 +174,7 @@ static inline int usb_charger_ramp_max(int port, int supplier, int sup_curr) * @param port port number * @param event event bits (USB_CHG_EVENT_*) */ -uint32_t usb_charger_task_set_event(int port, uint32_t event); +void usb_charger_task_set_event(int port, uint32_t event); /** * Reset available BC 1.2 chargers on all ports |