linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] iio: light: vl6180: remove space before \n newline
@ 2025-07-21 15:03 Colin Ian King
  2025-07-24 12:40 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2025-07-21 15:03 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Abhash Jha, linux-iio
  Cc: kernel-janitors, linux-kernel

There is an extraneous space before a newline in a dev_err_probe message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/iio/light/vl6180.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/light/vl6180.c b/drivers/iio/light/vl6180.c
index cc4f2e5404aa..38706424089c 100644
--- a/drivers/iio/light/vl6180.c
+++ b/drivers/iio/light/vl6180.c
@@ -722,7 +722,7 @@ static int vl6180_probe(struct i2c_client *client)
 						IRQF_ONESHOT,
 						indio_dev->name, indio_dev);
 		if (ret)
-			return dev_err_probe(&client->dev, ret, "devm_request_irq error \n");
+			return dev_err_probe(&client->dev, ret, "devm_request_irq error\n");
 
 		init_completion(&data->completion);
 
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] iio: light: vl6180: remove space before \n newline
  2025-07-21 15:03 [PATCH][next] iio: light: vl6180: remove space before \n newline Colin Ian King
@ 2025-07-24 12:40 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2025-07-24 12:40 UTC (permalink / raw)
  To: Colin Ian King
  Cc: David Lechner, Nuno Sá, Andy Shevchenko, Abhash Jha,
	linux-iio, kernel-janitors, linux-kernel

On Mon, 21 Jul 2025 16:03:09 +0100
Colin Ian King <colin.i.king@gmail.com> wrote:

> There is an extraneous space before a newline in a dev_err_probe message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Applied.

Thanks,
> ---
>  drivers/iio/light/vl6180.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/light/vl6180.c b/drivers/iio/light/vl6180.c
> index cc4f2e5404aa..38706424089c 100644
> --- a/drivers/iio/light/vl6180.c
> +++ b/drivers/iio/light/vl6180.c
> @@ -722,7 +722,7 @@ static int vl6180_probe(struct i2c_client *client)
>  						IRQF_ONESHOT,
>  						indio_dev->name, indio_dev);
>  		if (ret)
> -			return dev_err_probe(&client->dev, ret, "devm_request_irq error \n");
> +			return dev_err_probe(&client->dev, ret, "devm_request_irq error\n");
>  
>  		init_completion(&data->completion);
>  


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-24 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21 15:03 [PATCH][next] iio: light: vl6180: remove space before \n newline Colin Ian King
2025-07-24 12:40 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).