diff options
author | Rob Herring <[email protected]> | 2017-03-22 09:16:27 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2017-03-22 14:56:13 -0500 |
commit | 0634c2958927198797bf9e55d26fb51cce4c22b4 (patch) | |
tree | e517e4931cce3cec6323e08355d53a97b8de66b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcf54d5385abaea9c8026aae6f4eeb348671a52d (diff) |
of: Add function for generating a DT modalias with a newline
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 <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: [email protected]
Acked-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions