Re: [PATCH 08/18] serial: sc16is7xx: add driver name to struct uart_driver

From: Andy Shevchenko
Date: Wed Dec 20 2023 - 10:48:20 EST


On Tue, Dec 19, 2023 at 12:18:52PM -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
>
> Make sure that the driver name is displayed instead of "unknown" when
> displaying the driver infos:
>
> Before:
> cat /proc/tty/drivers | grep ttySC
> unknown /dev/ttySC 243 0-7 serial
>
> After:
> cat /proc/tty/drivers | grep ttySC
> sc16is7xx /dev/ttySC 243 0-7 serial

"Useless use of cat" (you can google for this phrase, it's famous).

grep ... /proc/...

will work :-)

Otherwise LGTM!

--
With Best Regards,
Andy Shevchenko