mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
V4L/DVB (10202): [PATCH] v4l/tvp514x: Don't write after line end
to avoid: | tvp514x 0-005c: No platform data | !!<3>tvp514x 0-005d: No platform data Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
77f56279f7
commit
0c37dd7a90
@ -1401,7 +1401,7 @@ tvp514x_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
||||
|
||||
decoder->pdata = client->dev.platform_data;
|
||||
if (!decoder->pdata) {
|
||||
v4l_err(client, "No platform data\n!!");
|
||||
v4l_err(client, "No platform data!!\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user