Re: [PATCH] pinctrl: pinmux: add function selector to pinmux-functions
From: Andy Shevchenko <hidden>
Date: 2021-01-24 20:02:56
From: Andy Shevchenko <hidden>
Date: 2021-01-24 20:02:56
On Sat, Jan 23, 2021 at 10:44 PM Drew Fustini [off-list ref] wrote:
Patch note: This may seem trivial but I found myself coming up with series of pipes in the shell just so I could see the function selector in line with the function names. At first, I thought I could just pipe to 'cat -n' but that counts at offset 1 instead of 0.
SO advises [1] to use `nl -v0` instead.
The only downside I can see to this patch would be if someone is depending on the existing format but I don't believe that is a concern for debugfs, right?
Debugfs is not an ABI. [1]: https://superuser.com/a/1433656/415970 -- With Best Regards, Andy Shevchenko