diff options
| author | David Collins <collinsd@codeaurora.org> | 2017-02-01 16:06:25 -0800 |
|---|---|---|
| committer | David Collins <collinsd@codeaurora.org> | 2017-02-03 12:19:03 -0800 |
| commit | 04be47199a946c493cd7cac1b557de76be6c7508 (patch) | |
| tree | 7867e47fafae1af2743cff86c118bf997355f261 /tools/perf/scripts/python/bin | |
| parent | b2f04129caff9280ac320834c324ab07a539f610 (diff) | |
gpio: qpnp-pin: 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.
- Change variables of type 'unsigned' to 'unsigned int'.
- Restructure conditionals to avoid else after return.
- Correct minor whitespace inconsistencies.
- Replace strncmp() with strcmp().
- Replace a static length 1 array with a scalar variable.
- Update the GPIO_QPNP_PIN Kconfig entry to use the name
'Qualcomm Technologies, Inc.'
- Expand the description of the GPIO_QPNP_PIN_DEBUG config
option.
- Remove an unnecessary BUG_ON() call.
Change-Id: Ib1a49adf4668124020fed90108fed338d7ab2bd6
Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
