Re: [PATCH 2/2] hwmon: (pmbus) Add driver for Analog Devices MAX20912 and MAX20916

From: Krzysztof Kozlowski

Date: Tue Jul 07 2026 - 08:34:09 EST


On 07/07/2026 14:26, Fred Chen wrote:
> +
> +static const struct of_device_id max20912_of_match[] = {
> + { .compatible = "adi,max20912" },
> + { .compatible = "adi,max20916" },
> + {}
> +};
> +MODULE_DEVICE_TABLE(of, max20912_of_match);
> +
> +static const struct i2c_device_id max20912_id[] = {
> + {"max20912"},
> + {"max20916"},

Please use named initializers (see recent code).

Best regards,
Krzysztof