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

Andrew Donnellan ajd at linux.ibm.com
Wed Jan 6 08:53:28 AEDT 2021


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 at huawei.com>

Acked-by: Andrew Donnellan <ajd at linux.ibm.com>


-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd at linux.ibm.com             IBM Australia Limited


More information about the Linuxppc-dev mailing list