diff options
| author | David Collins <collinsd@codeaurora.org> | 2017-02-01 16:48:46 -0800 |
|---|---|---|
| committer | David Collins <collinsd@codeaurora.org> | 2017-02-03 12:19:08 -0800 |
| commit | 2fbc77cbfa11182be4d9d2199ffb80a4b6215f0b (patch) | |
| tree | 3cff050642328510e9a60dc9b423e4b127541d63 | |
| parent | e6e40ef43a6cd60d16a56ca31a4cb076c554385b (diff) | |
platform: msm: qpnp-revid: 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.
- Update the QPNP_REVID Kconfig entry to use the name
'Qualcomm Technologies, Inc.'
Change-Id: I36f9f6b63aedbcfe744800887d8629ac1feac804
Signed-off-by: David Collins <collinsd@codeaurora.org>
| -rw-r--r-- | drivers/platform/msm/Kconfig | 8 | ||||
| -rw-r--r-- | drivers/platform/msm/qpnp-revid.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/platform/msm/Kconfig b/drivers/platform/msm/Kconfig index 9c2697dde76d..37d5bc4361cb 100644 --- a/drivers/platform/msm/Kconfig +++ b/drivers/platform/msm/Kconfig @@ -5,10 +5,10 @@ config QPNP_REVID tristate "QPNP Revision ID Peripheral" depends on SPMI help - Say 'y' here to include support for the Qualcomm QPNP REVID - peripheral. REVID prints out the PMIC type and revision numbers - in the kernel log along with the PMIC option status. The PMIC - type is mapped to a Qualcomm chip part number and logged as well. + Say 'y' here to include support for the Qualcomm Technologies, Inc. + QPNP REVID peripheral. REVID prints out the PMIC type and revision + numbers in the kernel log along with the PMIC option status. The PMIC + type is mapped to a QTI chip part number and logged as well. config QPNP_COINCELL tristate "Qualcomm QPNP coincell charger support" diff --git a/drivers/platform/msm/qpnp-revid.c b/drivers/platform/msm/qpnp-revid.c index 6b5db58f856a..9ea0b40304eb 100644 --- a/drivers/platform/msm/qpnp-revid.c +++ b/drivers/platform/msm/qpnp-revid.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -70,7 +70,7 @@ struct revid_chip { static LIST_HEAD(revid_chips); static DEFINE_MUTEX(revid_chips_lock); -static struct of_device_id qpnp_revid_match_table[] = { +static const struct of_device_id qpnp_revid_match_table[] = { { .compatible = QPNP_REVID_DEV_NAME }, {} }; |
