diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-03-23 15:48:40 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-23 23:22:00 +0000 |
commit | ea37a1154cd0882633ab10e0823f51d8c75ddea1 (patch) | |
tree | 5e3db37fde373509176f8a85f526ccd809390e00 /common/charge_manager.c | |
parent | 416b1307caa472cacabd227d72e72c56c7a7040d (diff) | |
download | chrome-ec-ea37a1154cd0882633ab10e0823f51d8c75ddea1.tar.gz |
chipset: convert reset_log_mutex to use K_MUTEX_DEFINE
Using K_MUTEX_DEFINE() initializes the mutex automatically, thus
removing the requirement to use k_mutex_init().
BUG=b:177677037
BRANCH=none
TEST=zmake testall && make buildall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Icd52129fe6a3edd497a6663b3ffea10c5b7b9dce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2782233
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/charge_manager.c')
0 files changed, 0 insertions, 0 deletions