diff options
author | David Hildenbrand <[email protected]> | 2018-12-03 12:16:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-12-06 13:54:14 +0100 |
commit | 3f8e9178538189215b59f726f2449a08362e7074 (patch) | |
tree | f70590e153ec0623489a0364b4fc86e7f2aebd8c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7782b57ccc60534d6edd21f6b2bbdc4fda777fdf (diff) |
drivers/base/memory.c: Use DEVICE_ATTR_RO and friends
Let's use the easier to read (and not mess up) variants:
- Use DEVICE_ATTR_RO
- Use DEVICE_ATTR_WO
- Use DEVICE_ATTR_RW
instead of the more generic DEVICE_ATTR() we're using right now.
We have to rename most callback functions. By fixing the intendations we
can even save some LOCs.
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Pavel Tatashin <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Wei Yang <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions