From: Thomas Zimmermann Date: Mon, 13 May 2024 12:51:11 +0000 (+0200) Subject: drm/mgag200: Replace struct mga_i2c_chan with struct mgag200_ddc X-Git-Tag: v6.11-rc1~141^2~24^2~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=814ebf50bb284c72ae10bedf36b81ceb680030eb;p=thirdparty%2Fkernel%2Flinux.git drm/mgag200: Replace struct mga_i2c_chan with struct mgag200_ddc Rename struct mga_i2c_chan to struct mgag200_ddc, define it in the source file mgag200_i2c.c, and reorder its fields. Rename all related variables from i2c to ddc. Also rename the i2c adapter accordingly. Using the term 'ddc' documents the purpose of the code clearly. The old term 'i2c' could refer to any functionality on an i2c bus. No functional changes. Signed-off-by: Thomas Zimmermann Reviewed-by: Jocelyn Falempe Link: https://patchwork.freedesktop.org/patch/msgid/20240513125620.6337-7-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h index 3c834bfd82cf4..008fdd5af09c8 100644 --- a/drivers/gpu/drm/mgag200/mgag200_drv.h +++ b/drivers/gpu/drm/mgag200/mgag200_drv.h @@ -10,9 +10,6 @@ #ifndef __MGAG200_DRV_H__ #define __MGAG200_DRV_H__ -#include -#include - #include