Re: [PATCH] platform/x86: Switch to using the new API kobj_to_dev()

2021-03-04 Thread Hans de Goede
Hi, On 2/22/21 8:00 AM, Yang Li wrote: > fixed the following coccicheck: > ./drivers/platform/x86/ideapad-laptop.c:523:60-61: WARNING opportunity > for kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Patch does not apply, please resend it rebased on the latest

[PATCH] platform/x86: Switch to using the new API kobj_to_dev()

2021-02-21 Thread Yang Li
fixed the following coccicheck: ./drivers/platform/x86/ideapad-laptop.c:523:60-61: WARNING opportunity for kobj_to_dev() Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/platform/x86/ideapad-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git