summaryrefslogtreecommitdiff
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2017-02-01 16:17:37 -0800
committerDavid Collins <collinsd@codeaurora.org>2017-02-03 12:19:04 -0800
commitec1ec741b775916887d31f04b1a1be7ad67e9cbc (patch)
tree2d1d22a3b8f4341f5f57940ab1c79568f9386087 /drivers/pwm/Kconfig
parent04be47199a946c493cd7cac1b557de76be6c7508 (diff)
pwm: 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. - Change variables of type 'unsigned' to 'unsigned int'. - Correct minor whitespace inconsistencies. - Replace kzalloc() with kcalloc() for arrays. - Replace strncmp() with strcmp(). - Replace EXPORT_SYMBOL_GPL() with EXPORT_SYMBOL(). - Remove a macro which affects flow control. - Update the PWM_QPNP Kconfig entry and driver to use the name: 'Qualcomm Technologies, Inc.' - Correct the spelling of 'label'. Change-Id: I36cd39cec22a4e4ad5956e57643753841fedb4dc Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 40e1afdfc286..b5e44b237ed8 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -310,13 +310,14 @@ config PWM_RCAR
will be called pwm-rcar.
config PWM_QPNP
+ tristate "Qualcomm Technologies, Inc. QPNP LPG/PWM support"
depends on SPMI
- tristate "Qualcomm QPNP LPG/PWM support"
- help
- This driver supports PWM/LPG devices in Qualcomm PMIC chips which
- comply with QPNP. QPNP is a SPMI based PMIC implementation. These
- devices support Pulse Width Modulation output with user generated
- patterns. They share a lookup table with size of 64 entries.
+ help
+ This driver supports PWM/LPG devices in Qualcomm Technologies, Inc.
+ PMIC chips which comply with QPNP. QPNP is an SPMI based PMIC
+ implementation. These devices support Pulse Width Modulation output
+ with user generated patterns. They share a lookup table with size of
+ 64 entries.
config PWM_RENESAS_TPU
tristate "Renesas TPU PWM support"