commit | dd0a25c77a00e2b10d7520af31cfac949e51bbba | [log] [tgz] |
---|---|---|
author | Yang Li <yang.lee@linux.alibaba.com> | Tue Feb 23 17:12:24 2021 +0800 |
committer | Oded Gabbay <ogabbay@kernel.org> | Fri Apr 09 14:09:23 2021 +0300 |
tree | 578469ed4647575db78ebbb1ba7a38f339c41e0c | |
parent | 99cb017e728227f5c046a044a6acec088f68a1c8 [diff] |
habanalabs: Switch to using the new API kobj_to_dev() fixed the following coccicheck: ./drivers/misc/habanalabs/common/sysfs.c:347:60-61: WARNING opportunity for kobj_to_dev() Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>