]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
platform/chrome: chromeos_tbmc - Remove unneeded const
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 8 Oct 2018 22:20:41 +0000 (15:20 -0700)
committerBenson Leung <bleung@chromium.org>
Wed, 10 Oct 2018 05:40:12 +0000 (22:40 -0700)
commitbc3f4b5c60db2a835e68bfdce23b6ae75df7e295
tree51aef23ea83a633d7b4769b3775f0cbe8b399898
parentda1cf5a1cf124fc0a0b50c4ec78d5e97ee68bae2
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>
drivers/platform/chrome/chromeos_tbmc.c