diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-10-09 01:20:41 +0300 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-10-10 08:40:12 +0300 |
commit | bc3f4b5c60db2a835e68bfdce23b6ae75df7e295 (patch) | |
tree | 51aef23ea83a633d7b4769b3775f0cbe8b399898 /drivers/platform/chrome/chromeos_tbmc.c | |
parent | da1cf5a1cf124fc0a0b50c4ec78d5e97ee68bae2 (diff) | |
download | linux-bc3f4b5c60db2a835e68bfdce23b6ae75df7e295.tar.xz |
platform/chrome: chromeos_tbmc - Remove unneeded const
Clang warns:
drivers/platform/chrome/chromeos_tbmc.c:102:14: warning: duplicate
'const' declaration specifier [-Wduplicate-decl-specifier]
static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL,
^
./include/linux/pm.h:365:56: note: expanded from macro
'SIMPLE_DEV_PM_OPS'
^
1 warning generated.
SIMPLE_DEV_PM_OPS is already declared as const, this one is unnecessary
so remove it.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/chromeos_tbmc.c')
-rw-r--r-- | drivers/platform/chrome/chromeos_tbmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/chromeos_tbmc.c b/drivers/platform/chrome/chromeos_tbmc.c index 1e81f8144c0d..ce259ec9f990 100644 --- a/drivers/platform/chrome/chromeos_tbmc.c +++ b/drivers/platform/chrome/chromeos_tbmc.c @@ -99,7 +99,7 @@ static const struct acpi_device_id chromeos_tbmc_acpi_device_ids[] = { }; MODULE_DEVICE_TABLE(acpi, chromeos_tbmc_acpi_device_ids); -static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, +static SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, chromeos_tbmc_resume); static struct acpi_driver chromeos_tbmc_driver = { |