diff --git a/drivers/media/i2c/lt6911uxc.c b/drivers/media/i2c/lt6911uxc.c index 44efa0adffe80..4f33c333006e2 100644 --- a/drivers/media/i2c/lt6911uxc.c +++ b/drivers/media/i2c/lt6911uxc.c @@ -1354,7 +1354,7 @@ static irqreturn_t lt6911uxc_threaded_irq_fn(int irq, void *dev_id) struct lt6911uxc_state *lt6911uxc; if (!sd) { - dev_err(sd->dev, "Invalid dev_id argument!\n"); + dev_err(NULL, "Invalid dev_id argument!\n"); return IRQ_NONE; }