[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=1TDqUUsdHRM_=hL7pHj2RyWsabraAztYR5MTDcQ1BuQ@mail.gmail.com>
Date: Wed, 6 Mar 2019 11:03:12 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Mans Rullgard <mans@...sr.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Willy Tarreau <w@....eu>,
Geert Uytterhoeven <geert.uytterhoeven@...il.com>
Subject: Re: [PATCH 2/3] auxdisplay: charlcd: simplify init message display
On Fri, Mar 1, 2019 at 7:48 PM Mans Rullgard <mans@...sr.com> wrote:
>
> /* display a short message */
> -#ifdef CONFIG_PANEL_CHANGE_MESSAGE
> - charlcd_puts(lcd, "\x1b[Lc\x1b[Lb\x1b[L*" CONFIG_PANEL_BOOT_MESSAGE);
> -#else
> - charlcd_puts(lcd, "\x1b[Lc\x1b[Lb\x1b[L*Linux-" UTS_RELEASE "\n");
> -#endif
> + charlcd_puts(lcd, "\x1b[Lc\x1b[Lb\x1b[L*" LCD_INIT_TEXT);
> +
Nice simplification, thanks!
CC'ing Willy & Geert in case they want to take a look for charlcd.c
Cheers,
Miguel
Powered by blists - more mailing lists