summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-09-23 02:24:46 +0100
committerAlex Deucher <alexander.deucher@amd.com>2024-09-26 17:06:36 -0400
commit0ee239911634dd29c3b05e1138d617cc3cab33fa (patch)
tree7197ab650c8e0e00d40561d988a3a8d2a294914e /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h
parent9d7a8bdb909e9b34bced6f56d4f2d320b0021697 (diff)
downloadlinux-0ee239911634dd29c3b05e1138d617cc3cab33fa.tar.gz
linux-0ee239911634dd29c3b05e1138d617cc3cab33fa.tar.bz2
linux-0ee239911634dd29c3b05e1138d617cc3cab33fa.zip
drm/amdgpu: Remove unused amdgpu_i2c functions
amdgpu_i2c_add and amdgpu_i2c_init were added in 2015's commit d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)") but never used. Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h
index 63c2ff7499e1..21e3d1dad0a1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h
@@ -28,11 +28,7 @@ struct amdgpu_i2c_chan *amdgpu_i2c_create(struct drm_device *dev,
const struct amdgpu_i2c_bus_rec *rec,
const char *name);
void amdgpu_i2c_destroy(struct amdgpu_i2c_chan *i2c);
-void amdgpu_i2c_init(struct amdgpu_device *adev);
void amdgpu_i2c_fini(struct amdgpu_device *adev);
-void amdgpu_i2c_add(struct amdgpu_device *adev,
- const struct amdgpu_i2c_bus_rec *rec,
- const char *name);
struct amdgpu_i2c_chan *
amdgpu_i2c_lookup(struct amdgpu_device *adev,
const struct amdgpu_i2c_bus_rec *i2c_bus);