diff options
| author | Axel Lin <[email protected]> | 2010-07-20 15:19:42 -0700 |
|---|---|---|
| committer | Matthew Garrett <[email protected]> | 2010-08-03 09:48:58 -0400 |
| commit | 3bf460f7b2767df63b76257332c4a9a29d5733c1 (patch) | |
| tree | b6df4aab2f729b5e4b69a265735ab56683deec3f /tools/perf/scripts/python | |
| parent | d47bb5b227f103f9bc0e572f478ac6b2a08fc2b2 (diff) | |
asus_acpi: fix coding style to improve readability
In the case of no match ( hotk->model == END_MODEL ), the only posible
case to return 0 is to have a Samsung P30 detected. This patch improves
readability by moving related code after if/else clause to be inside if
clause.
Signed-off-by: Axel Lin <[email protected]>
Cc: Corentin Chary <[email protected]>
Cc: Karol Kozimor <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Len Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions