Re: [PATCH 2/2] media: i2c: imx678: Add driver for Sony IMX678
From: Krzysztof Kozlowski
Date: Fri May 15 2026 - 07:03:25 EST
On Wed, May 13, 2026 at 09:03:17PM +0530, Jai Luthra wrote:
> +
> +static void imx678_remove(struct i2c_client *client)
> +{
> + struct v4l2_subdev *sd = i2c_get_clientdata(client);
> + struct imx678 *imx678 = to_imx678(sd);
> +
> + v4l2_async_unregister_subdev(sd);
> + v4l2_subdev_cleanup(sd);
> + media_entity_cleanup(&sd->entity);
> + imx678_free_controls(imx678);
> +
> + pm_runtime_disable(&client->dev);
> + if (!pm_runtime_status_suspended(&client->dev))
> + imx678_power_off(&client->dev);
> + pm_runtime_set_suspended(&client->dev);
> +}
> +
> +MODULE_DEVICE_TABLE(of, imx678_dt_ids);
This is always immediately after the table.
Best regards,
Krzysztof