linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found
@ 2019-09-02 13:00 Michal Simek
  2019-09-02 18:37 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2019-09-02 13:00 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek; +Cc: Sebastian Reichel, linux-pm

Trivial patch which just corrects error message.

Fixes: 371bb20d6927 ("power: Add simple gpio-restart driver")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/power/reset/gpio-restart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c
index 2880cd5ae0d2..308ca9d9d276 100644
--- a/drivers/power/reset/gpio-restart.c
+++ b/drivers/power/reset/gpio-restart.c
@@ -65,7 +65,7 @@ static int gpio_restart_probe(struct platform_device *pdev)
 	gpio_restart->reset_gpio = devm_gpiod_get(&pdev->dev, NULL,
 			open_source ? GPIOD_IN : GPIOD_OUT_LOW);
 	if (IS_ERR(gpio_restart->reset_gpio)) {
-		dev_err(&pdev->dev, "Could net get reset GPIO\n");
+		dev_err(&pdev->dev, "Could not get reset GPIO\n");
 		return PTR_ERR(gpio_restart->reset_gpio);
 	}
 
-- 
2.17.1


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

* Re: [PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found
  2019-09-02 13:00 [PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found Michal Simek
@ 2019-09-02 18:37 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2019-09-02 18:37 UTC (permalink / raw)
  To: Michal Simek; +Cc: linux-kernel, monstr, linux-pm

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

Hi,

On Mon, Sep 02, 2019 at 03:00:40PM +0200, Michal Simek wrote:
> Trivial patch which just corrects error message.
> 
> Fixes: 371bb20d6927 ("power: Add simple gpio-restart driver")
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---

Thanks, queued.

-- Sebastian

> 
>  drivers/power/reset/gpio-restart.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c
> index 2880cd5ae0d2..308ca9d9d276 100644
> --- a/drivers/power/reset/gpio-restart.c
> +++ b/drivers/power/reset/gpio-restart.c
> @@ -65,7 +65,7 @@ static int gpio_restart_probe(struct platform_device *pdev)
>  	gpio_restart->reset_gpio = devm_gpiod_get(&pdev->dev, NULL,
>  			open_source ? GPIOD_IN : GPIOD_OUT_LOW);
>  	if (IS_ERR(gpio_restart->reset_gpio)) {
> -		dev_err(&pdev->dev, "Could net get reset GPIO\n");
> +		dev_err(&pdev->dev, "Could not get reset GPIO\n");
>  		return PTR_ERR(gpio_restart->reset_gpio);
>  	}
>  
> -- 
> 2.17.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-09-02 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 13:00 [PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found Michal Simek
2019-09-02 18:37 ` Sebastian Reichel

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).