Re: [PATCH -next] backlight: backlight: Use DEFINE_MUTEX() for mutex lock

2021-04-06 Thread Daniel Thompson
On Mon, Apr 05, 2021 at 06:14:40PM +0800, Zheng Yongjun wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() > rather than explicitly calling mutex_init(). > > Reported-by: Hulk Robot > Signed-off-by: Zheng Yongjun This patch looks like a resend of this one (but with a diffe

[PATCH -next] backlight: backlight: Use DEFINE_MUTEX() for mutex lock

2021-04-05 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Reported-by: Hulk Robot Signed-off-by: Zheng Yongjun --- drivers/video/backlight/backlight.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/backlight