Re: [PATCH v2] media: cec: include linux/debugfs.h and linux/seq_file.h where needed

2024-12-31 Thread Hans Verkuil
On 30/12/2024 15:34, Jani Nikula wrote: > On Tue, 17 Dec 2024, Jani Nikula wrote: >> Having cec.h include linux/debugfs.h leads to all users of all cec >> headers include and depend on debugfs.h and its dependencies for no >> reason. Drop the include from cec.h, and include debugfs.h and >> seq_fi

Re: [PATCH v2] media: cec: include linux/debugfs.h and linux/seq_file.h where needed

2024-12-30 Thread Jani Nikula
On Tue, 17 Dec 2024, Jani Nikula wrote: > Having cec.h include linux/debugfs.h leads to all users of all cec > headers include and depend on debugfs.h and its dependencies for no > reason. Drop the include from cec.h, and include debugfs.h and > seq_file.h where needed. > > Sort all the modified i

[PATCH v2] media: cec: include linux/debugfs.h and linux/seq_file.h where needed

2024-12-17 Thread Jani Nikula
Having cec.h include linux/debugfs.h leads to all users of all cec headers include and depend on debugfs.h and its dependencies for no reason. Drop the include from cec.h, and include debugfs.h and seq_file.h where needed. Sort all the modified include lists while at it. Cc: Hans Verkuil Cc: lin