On Mon, Jan 16, 2017 at 02:41:22PM -0600, Rob Herring wrote: > The modalias sysfs attr is lacking a newline for DT aliases on platform > devices. The macio and ibmebus correctly add the newline, but open code it. > Introduce a new function, of_device_modalias(), that fills the buffer with > the modalias including the newline and update users of the old > of_device_get_modalias function. > > Signed-off-by: Rob Herring <r...@kernel.org> > Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> > Cc: Paul Mackerras <pau...@samba.org> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Frank Rowand <frowand.l...@gmail.com> > Cc: linuxppc-dev@lists.ozlabs.org
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>