aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2016-05-20 17:04:00 -0700
committerLinus Torvalds <[email protected]>2016-05-20 17:58:30 -0700
commit2d6327459ec5e63a89b12945f483f6d7378a8839 (patch)
tree94c06449f8c37ad6ae82ce58c45c38fb7eebb004 /tools/perf/scripts/python/export-to-postgresql.py
parentfff7fb0b2d908dec779783d8eaf3d7725230f75e (diff)
checkpatch: add PREFER_IS_ENABLED test
Using #if defined CONFIG_<FOO> || defined CONFIG_<FOO>_MODULE is more verbose than necessary and IS_ENABLED(CONFIG_<FOO>) is preferred. So add a test and a message for it. --fix it to if desired. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions