diff mbox series

[1/6] media: i2c: ov9282: remove unused and unset i2c_client member

Message ID 20220711081639.150153-2-alexander.stein@ew.tq-group.com
State Superseded
Headers show
Series OV9281 support | expand

Commit Message

Alexander Stein July 11, 2022, 8:16 a.m. UTC
This is not need anyway as the i2c_client is stored in v4l2_subdev.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/media/i2c/ov9282.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alessandrelli, Daniele July 11, 2022, 7:34 p.m. UTC | #1
On Mon, 2022-07-11 at 10:16 +0200, Alexander Stein wrote:
> This is not need anyway as the i2c_client is stored in v4l2_subdev.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>

> ---
>  drivers/media/i2c/ov9282.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c
> index 2e0b315801e5..3269c1983bd5 100644
> --- a/drivers/media/i2c/ov9282.c
> +++ b/drivers/media/i2c/ov9282.c
> @@ -123,7 +123,6 @@ struct ov9282_mode {
>   */
>  struct ov9282 {
>         struct device *dev;
> -       struct i2c_client *client;
>         struct v4l2_subdev sd;
>         struct media_pad pad;
>         struct gpio_desc *reset_gpio;
diff mbox series

Patch

diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c
index 2e0b315801e5..3269c1983bd5 100644
--- a/drivers/media/i2c/ov9282.c
+++ b/drivers/media/i2c/ov9282.c
@@ -123,7 +123,6 @@  struct ov9282_mode {
  */
 struct ov9282 {
 	struct device *dev;
-	struct i2c_client *client;
 	struct v4l2_subdev sd;
 	struct media_pad pad;
 	struct gpio_desc *reset_gpio;