Re: [PATCH] mfd: lm3533: Switch to using the new API kobj_to_dev()

From: Lee Jones
Date: Tue Mar 09 2021 - 09:46:41 EST


On Tue, 23 Feb 2021, Yang Li wrote:

> fixed the following coccicheck:
> ./drivers/mfd/lm3533-core.c:361:60-61: WARNING opportunity for
> kobj_to_dev()
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/lm3533-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Fixed up the commit message a bit and applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog