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

From: Andrew Donnellan
Date: Tue Jan 05 2021 - 16:54:29 EST


On 25/12/20 12:24 am, 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>

Acked-by: Andrew Donnellan <ajd@xxxxxxxxxxxxx>


--
Andrew Donnellan OzLabs, ADL Canberra
ajd@xxxxxxxxxxxxx IBM Australia Limited