Re: [PATCH v2 -next] usb: misc: use DEFINE_MUTEX() for mutex lock

From: Greg KH
Date: Mon Dec 28 2020 - 09:35:25 EST


On Thu, Dec 24, 2020 at 09:25:55PM +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@xxxxxxxxxx>
> ---
> drivers/usb/misc/ftdi-elan.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

What changed from v1? That always goes below the --- line.

Please fix up and send a v3.

thanks,

greg k-h