summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-18 10:35:30 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-18 13:33:17 +0200
commit68711cebcbb4dd7f5c05245715eefa4f4d4be760 (patch)
treef756004bb0a096c002b587def147a88b1c12206c /tools/perf/scripts/python/export-to-postgresql.py
parentbfee6a231903b1f1f8d72cc638be6862d7099377 (diff)
staging: ks7010: replace defines with enum types
Header has multiple constants defined using preprocessor directive. In the cases where these are an integer progression an enumeration type can be used. Doing so adds documentation to the code and makes the usage explicit. Maintain original constant value, this value is returned by the device. Replace (integer progression) preprocessor constants with enumeration type. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions