diff options
author | 2021-04-09 17:51:38 +0800 | |
---|---|---|
committer | 2021-04-21 10:00:30 +0200 | |
commit | d61b3f9b91be32f714b218377ab5081932e3ebc2 (patch) | |
tree | 2dccb454f3a62b1603ca6528e409289b93c209d1 /include | |
parent | platform/chrome: cros_usbpd_notify: Listen to EC_HOST_EVENT_USB_MUX host event (diff) | |
download | linux-d61b3f9b91be32f714b218377ab5081932e3ebc2.tar.gz linux-d61b3f9b91be32f714b218377ab5081932e3ebc2.tar.bz2 linux-d61b3f9b91be32f714b218377ab5081932e3ebc2.zip |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions