Re: [PATCH] driver core: Switch to using the new API kobj_to_dev()

2021-03-01 Thread Greg KH
On Mon, Mar 01, 2021 at 05:13:24PM +0800, Yang Li wrote: > fixed the following coccicheck: > ./include/linux/device.h:590:46-47: WARNING opportunity for > kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > include/linux/device.h | 2 +- > 1 file changed, 1 insertion(+),

[PATCH] driver core: Switch to using the new API kobj_to_dev()

2021-03-01 Thread Yang Li
fixed the following coccicheck: ./include/linux/device.h:590:46-47: WARNING opportunity for kobj_to_dev() Reported-by: Abaci Robot Signed-off-by: Yang Li --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/device.h b/include/linux/device.