From: Sakari Ailus Date: Tue, 15 Oct 2024 10:38:01 +0000 (+0300) Subject: media: ccs: Don't complain about lack of quirks X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=980d2c914cbe0af7c9239dacb89ae083a2094d83;p=users%2Fdwmw2%2Flinux.git media: ccs: Don't complain about lack of quirks Generally any deviance from the standard is handled via CCS static data nowadays and so not having quirks is expected. Don't warn about it. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/ccs/ccs-core.c b/drivers/media/i2c/ccs/ccs-core.c index 01744ebd3e061..27b94a399b175 100644 --- a/drivers/media/i2c/ccs/ccs-core.c +++ b/drivers/media/i2c/ccs/ccs-core.c @@ -2853,10 +2853,6 @@ static int ccs_identify_module(struct ccs_sensor *sensor) break; } - if (i >= ARRAY_SIZE(ccs_module_idents)) - dev_warn(&client->dev, - "no quirks for this module; let's hope it's fully compliant\n"); - dev_dbg(&client->dev, "the sensor is called %s\n", minfo->name); return 0;