summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/i2c/ov2680.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-12-04 17:21:02 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-08 08:24:33 +0100
commitf76855ef2f561c3787e22194b5d51c45e7d994d2 (patch)
treeeb70a7760b408f1a0f3b22e2a18af43016b9aa4d /drivers/staging/media/atomisp/i2c/ov2680.h
parent65b3974173a7ffede971456de064cec3e9368135 (diff)
media: atomisp: ov2680: Use the new ov_16bit_addr_reg_helpers.h
Use the new ov_16bit_addr_reg_helpers.h instead of duplicating the ovxxxx sensor I2C register access helpers found in many different sensor drivers. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/i2c/ov2680.h')
-rw-r--r--drivers/staging/media/atomisp/i2c/ov2680.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov2680.h b/drivers/staging/media/atomisp/i2c/ov2680.h
index 596e14453fb3..f4760a70055d 100644
--- a/drivers/staging/media/atomisp/i2c/ov2680.h
+++ b/drivers/staging/media/atomisp/i2c/ov2680.h
@@ -32,10 +32,6 @@
#include "../include/linux/atomisp_platform.h"
-/* Defines for register writes and register array processing */
-#define I2C_MSG_LENGTH 0x2
-#define I2C_RETRY_COUNT 5
-
#define OV2680_FOCAL_LENGTH_NUM 334 /*3.34mm*/
#define OV2680_BIN_FACTOR_MAX 4