aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch')
-rw-r--r--common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch b/common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch
deleted file mode 100644
index 046b092b..00000000
--- a/common/recipes-kernel/linux/files/0173-drm-amdgpu-use-kobj_to_dev.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 76088f00f64497474ec1c85243f29109e4cfc058 Mon Sep 17 00:00:00 2001
-From: Geliang Tang <geliangtang@163.com>
-Date: Wed, 13 Jan 2016 22:48:42 +0800
-Subject: [PATCH 0173/1110] drm/amdgpu: use kobj_to_dev()
-
-Use kobj_to_dev() instead of open-coding it.
-
-Signed-off-by: Geliang Tang <geliangtang@163.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-index 398c197..8edcdd7 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-@@ -326,7 +326,7 @@ static struct attribute *hwmon_attributes[] = {
- static umode_t hwmon_attributes_visible(struct kobject *kobj,
- struct attribute *attr, int index)
- {
-- struct device *dev = container_of(kobj, struct device, kobj);
-+ struct device *dev = kobj_to_dev(kobj);
- struct amdgpu_device *adev = dev_get_drvdata(dev);
- umode_t effective_mode = attr->mode;
-
---
-2.7.4
-