media: i2c: aptina-pll: Remove a useless include

Message ID dd90ca1fb95971b63fb6216e10f1b42282455c85.1668286255.git.christophe.jaillet@wanadoo.fr
State New
Headers
Series media: i2c: aptina-pll: Remove a useless include |

Commit Message

Christophe JAILLET Nov. 12, 2022, 8:51 p.m. UTC
  <linux/lcm.h> is not needed for this driver. Remove the corresponding
#include.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/media/i2c/aptina-pll.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Laurent Pinchart Nov. 12, 2022, 9:48 p.m. UTC | #1
Hi Christophe,

Thank you for the patch.

On Sat, Nov 12, 2022 at 09:51:06PM +0100, Christophe JAILLET wrote:
> <linux/lcm.h> is not needed for this driver. Remove the corresponding
> #include.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/media/i2c/aptina-pll.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/i2c/aptina-pll.c b/drivers/media/i2c/aptina-pll.c
> index 1423c04a1c90..b1f89bbf9d47 100644
> --- a/drivers/media/i2c/aptina-pll.c
> +++ b/drivers/media/i2c/aptina-pll.c
> @@ -8,7 +8,6 @@
>  #include <linux/device.h>
>  #include <linux/gcd.h>
>  #include <linux/kernel.h>
> -#include <linux/lcm.h>
>  #include <linux/module.h>
>  
>  #include "aptina-pll.h"
  

Patch

diff --git a/drivers/media/i2c/aptina-pll.c b/drivers/media/i2c/aptina-pll.c
index 1423c04a1c90..b1f89bbf9d47 100644
--- a/drivers/media/i2c/aptina-pll.c
+++ b/drivers/media/i2c/aptina-pll.c
@@ -8,7 +8,6 @@ 
 #include <linux/device.h>
 #include <linux/gcd.h>
 #include <linux/kernel.h>
-#include <linux/lcm.h>
 #include <linux/module.h>
 
 #include "aptina-pll.h"