]> Git Repo - linux.git/commit
usb: host: u132-hcd: use DEFINE_MUTEX() for mutex lock
authorZheng Yongjun <[email protected]>
Mon, 5 Apr 2021 10:14:34 +0000 (18:14 +0800)
committerGreg Kroah-Hartman <[email protected]>
Fri, 9 Apr 2021 14:02:30 +0000 (16:02 +0200)
commit7c53624cbdbe9f6b0c71533efd7c8637ea4a47e3
treef28283142ad2bc491f1fcf6edcce0802ca028f8d
parent9c2076090c2815fe7c49676df68dde7e60a9b9fc
usb: host: u132-hcd: 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 <[email protected]>
Signed-off-by: Zheng Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/u132-hcd.c
This page took 0.054677 seconds and 4 git commands to generate.