diff mbox series

[01/21] media: i2c: imx258: Remove unused defines

Message ID 20230530173000.3060865-2-dave.stevenson@raspberrypi.com
State Accepted
Commit e2adf52ee59101c6d2415511a72c836ecdada671
Headers show
Series [01/21] media: i2c: imx258: Remove unused defines | expand

Commit Message

Dave Stevenson May 30, 2023, 5:29 p.m. UTC
The IMX258_FLL_* defines are unused. Remove them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
 drivers/media/i2c/imx258.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Jacopo Mondi May 31, 2023, 3:08 p.m. UTC | #1
Hi Dave

On Tue, May 30, 2023 at 06:29:40PM +0100, Dave Stevenson wrote:
> The IMX258_FLL_* defines are unused. Remove them.
>
> Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

> ---
>  drivers/media/i2c/imx258.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/media/i2c/imx258.c b/drivers/media/i2c/imx258.c
> index 85d73b186111..6028579393b5 100644
> --- a/drivers/media/i2c/imx258.c
> +++ b/drivers/media/i2c/imx258.c
> @@ -29,12 +29,6 @@
>  #define IMX258_VTS_30FPS_VGA		0x034c
>  #define IMX258_VTS_MAX			0xffff
>
> -/*Frame Length Line*/
> -#define IMX258_FLL_MIN			0x08a6
> -#define IMX258_FLL_MAX			0xffff
> -#define IMX258_FLL_STEP			1
> -#define IMX258_FLL_DEFAULT		0x0c98
> -
>  /* HBLANK control - read only */
>  #define IMX258_PPL_DEFAULT		5352
>
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/drivers/media/i2c/imx258.c b/drivers/media/i2c/imx258.c
index 85d73b186111..6028579393b5 100644
--- a/drivers/media/i2c/imx258.c
+++ b/drivers/media/i2c/imx258.c
@@ -29,12 +29,6 @@ 
 #define IMX258_VTS_30FPS_VGA		0x034c
 #define IMX258_VTS_MAX			0xffff
 
-/*Frame Length Line*/
-#define IMX258_FLL_MIN			0x08a6
-#define IMX258_FLL_MAX			0xffff
-#define IMX258_FLL_STEP			1
-#define IMX258_FLL_DEFAULT		0x0c98
-
 /* HBLANK control - read only */
 #define IMX258_PPL_DEFAULT		5352