Re: [PATCH 2/2] of: Add function for generating a DT modalias with a newline

2017-01-19 Thread Greg Kroah-Hartman
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 mod

[PATCH 2/2] of: Add function for generating a DT modalias with a newline

2017-01-16 Thread Rob Herring
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