[v5,05/13] drm/ast: Move DDC code to ast_ddc.{c,h}

Sui Jingfeng sui.jingfeng at linux.dev
Wed Mar 20 17:21:04 UTC 2024


Hi,


On 2024/3/20 17:34, Thomas Zimmermann wrote:
> Rename ast_i2c.c to ast_ddc.c and move its interface into the
> new header ast_ddc.h. Update all include statements as necessary
> and change the adapter name to 'AST DDC bus'.
>
> This avoids including I2C headers in the driver's main header file,
> which doesn't need them. Renaming files to _ddc indicates that the
> code is about the DDC. I2C is really just the underlying bus here.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>


Reviewed-by: Sui Jingfeng <sui.jingfeng at linux.dev>

-- 
Best regards,
Sui



More information about the dri-devel mailing list