On 06/04/2025 15:03, Luca Weiss wrote:
> +static const struct i2c_device_id aw8898_id[] = {
> +     { "aw8898" },
> +     { /* sentinel */ }
> +};
> +MODULE_DEVICE_TABLE(i2c, aw8898_id);
> +
> +static const struct of_device_id aw8898_of_match[] = {
> +     { .compatible = "awinic,aw8898" },
> +     { /* sentinel */ }
> +};
> +MODULE_DEVICE_TABLE(of, aw8898_of_match);
> +
> +static struct i2c_driver aw8898_driver = {
> +     .driver = {
> +             .name = "aw8898",
> +             .of_match_table = of_match_ptr(aw8898_of_match),


Drop of_match_ptr.

Best regards,
Krzysztof

Reply via email to