Commit ea5930a4 authored by Alexander Stein's avatar Alexander Stein Committed by Mauro Carvalho Chehab

media: i2c: ov9282: remove unused and unset i2c_client member

This is not need anyway as the i2c_client is stored in v4l2_subdev.
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: default avatarDaniele Alessandrelli <daniele.alessandrelli@intel.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 36c9b753
...@@ -148,7 +148,6 @@ struct ov9282_mode { ...@@ -148,7 +148,6 @@ struct ov9282_mode {
/** /**
* struct ov9282 - ov9282 sensor device structure * struct ov9282 - ov9282 sensor device structure
* @dev: Pointer to generic device * @dev: Pointer to generic device
* @client: Pointer to i2c client
* @sd: V4L2 sub-device * @sd: V4L2 sub-device
* @pad: Media pad. Only one pad supported * @pad: Media pad. Only one pad supported
* @reset_gpio: Sensor reset gpio * @reset_gpio: Sensor reset gpio
...@@ -170,7 +169,6 @@ struct ov9282_mode { ...@@ -170,7 +169,6 @@ struct ov9282_mode {
*/ */
struct ov9282 { struct ov9282 {
struct device *dev; struct device *dev;
struct i2c_client *client;
struct v4l2_subdev sd; struct v4l2_subdev sd;
struct media_pad pad; struct media_pad pad;
struct gpio_desc *reset_gpio; struct gpio_desc *reset_gpio;
......
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