commit | d61b3f9b91be32f714b218377ab5081932e3ebc2 | [log] [tgz] |
---|---|---|
author | Ye Bin <yebin10@huawei.com> | Fri Apr 09 17:51:38 2021 +0800 |
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | Wed Apr 21 10:00:30 2021 +0200 |
tree | 2dccb454f3a62b1603ca6528e409289b93c209d1 | |
parent | 4423ee65f76818c8a8994e6f5821372661ea7f89 [diff] |
platform/chrome: cros_ec_lpc: Use DEFINE_MUTEX() for mutex lock mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Ye Bin <yebin10@huawei.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210409095138.2293869-1-yebin10@huawei.com