summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2017-02-01 17:18:08 -0800
committerDavid Collins <collinsd@codeaurora.org>2017-02-03 12:19:13 -0800
commitea2ccd6226c03e8eedab036d9001c4e30dcd5102 (patch)
tree19861bcc4986ad7f4b0ddd2267f5e5bbf597fd31 /tools/perf/scripts/python
parente51b33d8089e906e900bab6b5593cb6dae7f4f40 (diff)
leds: leds-qpnp-flash: correct various coding style issues
Correct warnings flagged by checkpatch. In particular, modify the following: - Add 'const' to the type of a struct of_device_id variable. - Use octal file permissions instead of symbolic. - Remove unnecessary out-of-memory error messages. - Use variable name in sizeof() for kzalloc() calls. - Restructure conditionals to avoid else after return. - Remove 'return' from the end of void functions. - Correct the format of block comments. - Correct the spelling of 'cannot'. - Update the LEDS_QPNP_FLASH Kconfig entry to use the name 'Qualcomm Technologies, Inc.' - Expand the description of the LEDS_QPNP_FLASH config option. Change-Id: I342fe2d0e6a027c87cd17a3697529b422ec49ab6 Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions