diff mbox series

[2/2] staging: media: atomisp: Remove unhelpful info message

Message ID 20200903183145.720727-2-alex.dewar90@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] staging: media: atomisp: Don't abort on error in module exit path | expand

Commit Message

Alex Dewar Sept. 3, 2020, 6:31 p.m. UTC
We don't really need to know that the LED pin reset successfully.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
---
 drivers/staging/media/atomisp/i2c/atomisp-lm3554.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alex Dewar Sept. 19, 2020, 7:32 p.m. UTC | #1
On 2020-09-03 19:31, Alex Dewar wrote:
> We don't really need to know that the LED pin reset successfully.
Ping?
>
> Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
> ---
>   drivers/staging/media/atomisp/i2c/atomisp-lm3554.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
> index 621555b0cf6b..77b7f59e62d7 100644
> --- a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
> +++ b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
> @@ -771,7 +771,6 @@ static int lm3554_gpio_init(struct i2c_client *client)
>   	ret = gpiod_direction_output(pdata->gpio_reset, 0);
>   	if (ret < 0)
>   		return ret;
> -	dev_info(&client->dev, "flash led reset successfully\n");
>   
>   	if (!pdata->gpio_strobe)
>   		return -EINVAL;
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
index 621555b0cf6b..77b7f59e62d7 100644
--- a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
+++ b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
@@ -771,7 +771,6 @@  static int lm3554_gpio_init(struct i2c_client *client)
 	ret = gpiod_direction_output(pdata->gpio_reset, 0);
 	if (ret < 0)
 		return ret;
-	dev_info(&client->dev, "flash led reset successfully\n");
 
 	if (!pdata->gpio_strobe)
 		return -EINVAL;