aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2014-07-10 09:07:06 +0100
committerLee Jones <[email protected]>2014-07-18 08:39:42 +0100
commit1e3b09701223afdff3b0353f87b566e7848bb24a (patch)
treeb109b7a4bb551f914dd4e1fbd5978dac7560fc20 /tools/perf/util/scripting-engines/trace-event-python.c
parentb3de3402e5ab8edfbbdbbb86393692431522f6d3 (diff)
backlight: jornada720: Minimise code duplication and handle errors better
Rickard Strandqvi's ran a code analysis application which found that jornada_lcd_get_contrast(() and jornada_lcd_set_contrast() contained some code duplication (calling the same functions during various code execution paths) and failed to return errors in a consistent manner. This patch aims to simplify the code, coercing it into behaving at a level expected of a driver in the Linux kernel. Suggested-by: Rickard Strandqvist <[email protected]> Acked-by: Jingoo Han <[email protected]> Reviewed-by: Rickard Strandqvist <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions