0634c29589
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 <robh@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Frank Rowand <frowand.list@gmail.com> Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
ams | ||
adb-iop.c | ||
adb.c | ||
adbhid.c | ||
ans-lcd.c | ||
ans-lcd.h | ||
apm_emu.c | ||
Kconfig | ||
mac_hid.c | ||
macio_asic.c | ||
macio_sysfs.c | ||
macio-adb.c | ||
Makefile | ||
mediabay.c | ||
rack-meter.c | ||
smu.c | ||
therm_adt746x.c | ||
therm_windtunnel.c | ||
via-cuda.c | ||
via-macii.c | ||
via-pmu68k.c | ||
via-pmu-backlight.c | ||
via-pmu-event.c | ||
via-pmu-event.h | ||
via-pmu-led.c | ||
via-pmu.c | ||
windfarm_ad7417_sensor.c | ||
windfarm_core.c | ||
windfarm_cpufreq_clamp.c | ||
windfarm_fcu_controls.c | ||
windfarm_lm75_sensor.c | ||
windfarm_lm87_sensor.c | ||
windfarm_max6690_sensor.c | ||
windfarm_mpu.h | ||
windfarm_pid.c | ||
windfarm_pid.h | ||
windfarm_pm72.c | ||
windfarm_pm81.c | ||
windfarm_pm91.c | ||
windfarm_pm112.c | ||
windfarm_pm121.c | ||
windfarm_rm31.c | ||
windfarm_smu_controls.c | ||
windfarm_smu_sat.c | ||
windfarm_smu_sensors.c | ||
windfarm.h |