Re: [PATCH v2] media: atomisp: Remove unused timed controller code

From: Andy Shevchenko

Date: Tue Nov 24 2026 - 12:28:49 EST


On Tue, Nov 24, 2026 at 04:45:04PM +0000, Abhishek Chaulagain wrote:
> The timed controller HAL module - timed_ctrl_snd_commnd(),
> timed_ctrl_snd_sp_commnd(), timed_ctrl_snd_gpio_commnd() and the inline
> timed_ctrl_reg_store() helper they used - has no callers anywhere in the
> tree. The only remaining reference was a stale #include in sh_css.c that
> pulled in none of its symbols.
>
> Remove the dead source file, its public/private/local/global headers and
> the timed_controller_defs.h definitions header (included only by this
> module), drop the object from the Makefile, and delete the unused include
> from sh_css.c.
>
> With the module gone, the timed_ctrl_ID_t enumeration in system_global.h
> and the TIMED_CTRL_BASE[] base-address table in system_local.{c,h} have
> no remaining users, so remove them as well.
>
> No functional change intended.

Good cleanup if it compiles,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko