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

2021-02-28 Thread Oded Gabbay
On Tue, Feb 23, 2021 at 11:12 AM Yang Li wrote: > > fixed the following coccicheck: > ./drivers/misc/habanalabs/common/sysfs.c:347:60-61: WARNING opportunity > for kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/misc/habanalabs/common/sysfs.c | 2 +- > 1

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

2021-02-23 Thread Yang Li
fixed the following coccicheck: ./drivers/misc/habanalabs/common/sysfs.c:347:60-61: WARNING opportunity for kobj_to_dev() Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/misc/habanalabs/common/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git