aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTimur Tabi <[email protected]>2011-09-28 16:19:51 -0500
committerFlorian Tobias Schandinat <[email protected]>2011-10-05 01:10:12 +0000
commit2572df91d5528dfc639e52b7caaed98e3dec1e18 (patch)
tree24a2fab042da8c3de4434d5bf1eea999402e3417 /tools/perf/util/scripting-engines/trace-event-python.c
parent760af8f83d73dcd2ddf0dc8ebefcf4f0569c1a89 (diff)
drivers/video: fsl-diu-fb: use an enum for the AOI index
Each of the five AOIs created by the DIU driver has a special purpose, and they're not treated equally. It makes sense to identify them with an enum instead of a hard-coded number. Since the 'index' is now an enum, it can only contain allowed values, so there's no need to check for an invalid value. This simplifies some other code, such as fsl_diu_disable_panel(), which no longer needs to return an error code. Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: Florian Tobias Schandinat <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions