diff mbox series

media: i2c: adv748x: Remove dead function declaration

Message ID 20221008141205.3493964-1-niklas.soderlund+renesas@ragnatech.se
State Accepted
Commit db3ada539fcc98b30bac0d11a864a294febdf85d
Headers show
Series media: i2c: adv748x: Remove dead function declaration | expand

Commit Message

Niklas Söderlund Oct. 8, 2022, 2:12 p.m. UTC
There is no implementation of adv748x_register_subdevs(), remove the
declaration in the header file.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 drivers/media/i2c/adv748x/adv748x.h | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/i2c/adv748x/adv748x.h b/drivers/media/i2c/adv748x/adv748x.h
index d75eb3d8be5a..6f90f78f58cf 100644
--- a/drivers/media/i2c/adv748x/adv748x.h
+++ b/drivers/media/i2c/adv748x/adv748x.h
@@ -428,9 +428,6 @@  void adv748x_subdev_init(struct v4l2_subdev *sd, struct adv748x_state *state,
 			 const struct v4l2_subdev_ops *ops, u32 function,
 			 const char *ident);
 
-int adv748x_register_subdevs(struct adv748x_state *state,
-			     struct v4l2_device *v4l2_dev);
-
 int adv748x_tx_power(struct adv748x_csi2 *tx, bool on);
 
 int adv748x_afe_init(struct adv748x_afe *afe);