aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-01-20 17:25:15 +0100
committerJonathan Cameron <[email protected]>2017-01-21 12:34:54 +0000
commitd1242acc566a9288cbca441be1a7358c0316197e (patch)
tree1416cdd40c56947729314942fbea7b6e0d523991 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3bc1abcddb24f55b9c251e03caa4f9bd22ff748b (diff)
iio: light: cm3605: mark PM functions as __maybe_unused
When CONFIG_PM_SLEEP is disabled, we get a harmless warning drivers/iio/light/cm3605.c:292:12: error: 'cm3605_pm_resume' defined but not used [-Werror=unused-function] drivers/iio/light/cm3605.c:281:12: error: 'cm3605_pm_suspend' defined but not used [-Werror=unused-function] Marking the functions as possibly unused avoids the warning without needing to add an #ifdef. Fixes: 8afa505c1230 ("iio: light: add driver for Capella CM3605") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions