Commit 75a89a27 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz Committed by Martin Kepplinger
Browse files

s5k3l6xx: Rename media device

There's only 1 media device in this sensor, so there's no reason to name it -CIS.
At the same time, this names the device after the driver for consistency with other sensor drivers.
parent c84308fa
Pipeline #72496 passed with stage
in 113 minutes and 58 seconds
......@@ -1303,8 +1303,6 @@ static int s5k3l6xx_configure_subdevs(struct s5k3l6xx *state,
v4l2_info(&state->sd, "probe sd %px", (void*)&state->sd);
sd = &state->sd;
v4l2_i2c_subdev_init(sd, c, &s5k3l6xx_subdev_ops);
snprintf(sd->name, sizeof(sd->name), "S5K3L6-CIS %d-%04x",
i2c_adapter_id(c->adapter), c->addr);
v4l2_info(sd, "probe i2c %px", (void*)c);
sd->internal_ops = &s5k3l6xx_subdev_internal_ops;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment