Re: [PATCH] serial: earlycon: stop abusing console::index

2016-06-08 Thread Mark Rutland
On Wed, Jun 08, 2016 at 10:06:22AM -0700, Peter Hurley wrote: > On 06/03/2016 08:19 AM, Mark Rutland wrote: > > Commit cda64e6824026575 ("serial: earlycon: Fixup earlycon console name > > and index") added code to decompose an earlycon driver name into a > > string prefix and numeric suffix, and pl

Re: [PATCH] serial: earlycon: stop abusing console::index

2016-06-08 Thread Peter Hurley
On 06/03/2016 08:19 AM, Mark Rutland wrote: > Commit cda64e6824026575 ("serial: earlycon: Fixup earlycon console name > and index") added code to decompose an earlycon driver name into a > string prefix and numeric suffix, and place this into console::name and > console::index, such that we'd get a

[PATCH] serial: earlycon: stop abusing console::index

2016-06-03 Thread Mark Rutland
Commit cda64e6824026575 ("serial: earlycon: Fixup earlycon console name and index") added code to decompose an earlycon driver name into a string prefix and numeric suffix, and place this into console::name and console::index, such that we'd get a pretty name out of the core console code, which req