mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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>
|
||
|---|---|---|
| .. | ||
| chromeos_laptop.c | ||
| chromeos_pstore.c | ||
| chromeos_tbmc.c | ||
| cros_ec_debugfs.c | ||
| cros_ec_i2c.c | ||
| cros_ec_lightbar.c | ||
| cros_ec_lpc_mec.c | ||
| cros_ec_lpc_mec.h | ||
| cros_ec_lpc_reg.c | ||
| cros_ec_lpc_reg.h | ||
| cros_ec_lpc.c | ||
| cros_ec_proto.c | ||
| cros_ec_spi.c | ||
| cros_ec_sysfs.c | ||
| cros_ec_vbc.c | ||
| cros_kbd_led_backlight.c | ||
| Kconfig | ||
| Makefile | ||