diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2018-05-25 07:32:33 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:07 -0400 |
commit | 34e9ab1f26155ae72521be80cf496bbc0573f03e (patch) | |
tree | 5a5e5879248bd73245370555deb2d5c7b9232e46 /drivers/gpu | |
parent | 57e6105aa1b0a3c5d516041942733658cd352c57 (diff) |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/sysfs.c b/drivers/gpu/nvgpu/common/linux/sysfs.c index 7a887beb..e5995bb8 100644 --- a/drivers/gpu/nvgpu/common/linux/sysfs.c +++ b/drivers/gpu/nvgpu/common/linux/sysfs.c | |||
@@ -1110,6 +1110,7 @@ void nvgpu_remove_sysfs(struct device *dev) | |||
1110 | device_remove_file(dev, &dev_attr_elpg_enable); | 1110 | device_remove_file(dev, &dev_attr_elpg_enable); |
1111 | device_remove_file(dev, &dev_attr_mscg_enable); | 1111 | device_remove_file(dev, &dev_attr_mscg_enable); |
1112 | device_remove_file(dev, &dev_attr_emc3d_ratio); | 1112 | device_remove_file(dev, &dev_attr_emc3d_ratio); |
1113 | device_remove_file(dev, &dev_attr_ldiv_slowdown_factor); | ||
1113 | 1114 | ||
1114 | device_remove_file(dev, &dev_attr_fmax_at_vmin_safe); | 1115 | device_remove_file(dev, &dev_attr_fmax_at_vmin_safe); |
1115 | 1116 | ||