lkml.org 
[lkml]   [2022]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] rtc: lp8788: Fix typo in comment
Date
On Mon, 2022-01-17 at 17:45 -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
>
> Add missing "if".
>
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> ---
>  drivers/rtc/rtc-lp8788.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c
> index c0b8fbce1082..3aa5d980e596 100644
> --- a/drivers/rtc/rtc-lp8788.c
> +++ b/drivers/rtc/rtc-lp8788.c
> @@ -262,7 +262,7 @@ static int lp8788_alarm_irq_register(struct
> platform_device *pdev,
>  
>         rtc->irq = 0;
>  
> -       /* even the alarm IRQ number is not specified, rtc time
> should work */
> +       /* even if the alarm IRQ number is not specified, rtc time
> should work */
>         r = platform_get_resource_byname(pdev, IORESOURCE_IRQ,
> LP8788_ALM_IRQ);
>         if (!r)
>                 return 0;

This is a single patch, subject line should be [PATCH] and not [PATCH
1/3].

\
 
 \ /
  Last update: 2022-01-17 23:56    [W:0.036 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site