summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2017-02-01 18:19:54 -0800
committerDavid Collins <collinsd@codeaurora.org>2017-02-03 12:19:12 -0800
commite51b33d8089e906e900bab6b5593cb6dae7f4f40 (patch)
treee80f8519565ab100860104ea1964f380edee79e5 /drivers/thermal
parent16655a926657d36a87041e663b70fa4544f8b9a3 (diff)
leds: leds-qpnp: 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. - Remove unnecessary out-of-memory error messages. - Restructure conditionals to avoid else after return. - Replace kzalloc() with kcalloc() for arrays. - Replace strncmp() with strcmp(). - Join strings that are wrapped across two lines. - Correct the format of block comments. - Remove 'return' from the end of void functions. - Remove unnecessary parentheses. - Remove unnecessary line continuations. - Call usleep_range() with max > min. - Update the LEDS_QPNP Kconfig entry and the device tree documentation to use the name: 'Qualcomm Technologies, Inc.' - Expand the description of the LEDS_QPNP config option. - Correct the spelling of 'controlled'. Change-Id: Id29de0da18aa1ce75a0c7604b8c0ecd1633fcaf3 Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions