lkml.org 
[lkml]   [2020]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 -next] usb: host: use DEFINE_MUTEX() for mutex lock
On Thu, Dec 24, 2020 at 09:25:45PM +0800, Zheng Yongjun wrote:
> mutex lock can be initialized automatically with DEFINE_MUTEX()
> rather than explicitly calling mutex_init().
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
> drivers/usb/host/u132-hcd.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

What changed from v1? Again, please put that below the --- line and
resend a v3.

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-12-28 15:37    [W:0.032 / U:1.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site