Hi Jani, On Tue, Sep 10, 2024 at 12:08 PM Jani Nikula <jani.nikula@xxxxxxxxx> wrote: > > Building with clang and and W=1 leads to warning about unused > dw_hdmi_dwc_write_bits(). Fix by annotating it with __maybe_unused. > > See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static > inline functions for W=1 build"). > > Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> I prefer dropping this function for which there's a patch already: [0] [0] https://lore.kernel.org/linux-amlogic/20240908-regmap-config-const-v1-1-28f349004811@xxxxxxxxxx/