RE: [PATCH v2 02/15] regulator: da9210: Fix W=1 build warning when CONFIG_OF=n
From: Adam Thomson
Date: Fri Aug 21 2020 - 04:56:35 EST
On 21 August 2020 04:13, Jisheng Zhang wrote:
> Fix below warning when CONFIG_OF=n:
>
> drivers/regulator/da9210-regulator.c:128:34: warning: ‘da9210_dt_ids’ defined
> but not used [-Wunused-const-variable=]
> 128 | static const struct of_device_id da9210_dt_ids[] = {
> | ^~~~~~~~~~~~~
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@xxxxxxxxxxx>