diff options
| author | David Collins <collinsd@codeaurora.org> | 2017-01-31 13:49:36 -0800 |
|---|---|---|
| committer | David Collins <collinsd@codeaurora.org> | 2017-02-03 11:48:09 -0800 |
| commit | 110c32f055c0f2b2f792d4515fef778774f13646 (patch) | |
| tree | 1539a3d9ff935190d95c7def5058d69b0ab92208 /tools/perf/scripts/python | |
| parent | 1abc78fdb5a66544b745f3beddec9c321c24dcf8 (diff) | |
regulator: cpr3-regulator: correct various coding style issues
Correct warnings flagged by checkpatch. In particular, modify
the following:
- Use octal file permissions instead of symbolic.
- Add 'const' to type of struct of_device_id variables.
- Remove unnecessary out-of-memory error messages.
- Change variables of type 'unsigned' to 'unsigned int'.
- Restructure conditionals to avoid else after return/break.
- Remove 'return' from the end of void functions.
- Correct minor whitespace inconsistencies.
Change-Id: Ibf7812cd722c74e48d51e765f00efcbcf548c552
Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
