mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: remove ldiv_slowdown_factor sysfs node
ldiv_slowdown_factor sysfs node is added with change
f9e55fba but it didn't update nvgpu_remove_sysfs() to
remove it. This results in EEXIST error for
modprobe-rmmod-modprobe sequence of nvgpu driver.
Bug 1987855
Change-Id: I4360028ba75435f3e144be23f6d9f42a81dcb94b
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1730538
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Tejal Kudav
parent
57e6105aa1
commit
34e9ab1f26
@@ -1110,6 +1110,7 @@ void nvgpu_remove_sysfs(struct device *dev)
|
|||||||
device_remove_file(dev, &dev_attr_elpg_enable);
|
device_remove_file(dev, &dev_attr_elpg_enable);
|
||||||
device_remove_file(dev, &dev_attr_mscg_enable);
|
device_remove_file(dev, &dev_attr_mscg_enable);
|
||||||
device_remove_file(dev, &dev_attr_emc3d_ratio);
|
device_remove_file(dev, &dev_attr_emc3d_ratio);
|
||||||
|
device_remove_file(dev, &dev_attr_ldiv_slowdown_factor);
|
||||||
|
|
||||||
device_remove_file(dev, &dev_attr_fmax_at_vmin_safe);
|
device_remove_file(dev, &dev_attr_fmax_at_vmin_safe);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user