Re: [PATCH v3 -next] staging: vc04_services: use DEFINE_MUTEX() for mutex lock

2021-01-04 Thread Greg KH
On Tue, Jan 05, 2021 at 10:05:47AM +0800, Zheng Yongjun wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() > rather than explicitly calling mutex_init(). > > Signed-off-by: Zheng Yongjun > --- > .../vc04_services/interface/vchiq_arm/vchiq_connected.c | 6 ++ > 1

[PATCH v3 -next] staging: vc04_services: use DEFINE_MUTEX() for mutex lock

2021-01-04 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- .../vc04_services/interface/vchiq_arm/vchiq_connected.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git