clang-tidy: Enable readability-avoid-const-params-in-decls check
Checks whether a function declaration has parameters that are top
level const.
const values in declarations do not affect the signature of a
function, so they should not be put there.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ic4c2fc0f4ce0ce03fd6621d1f8c928890cf5da88
diff --git a/manager/manager.hpp b/manager/manager.hpp
index 053a6a7..045586f 100644
--- a/manager/manager.hpp
+++ b/manager/manager.hpp
@@ -132,7 +132,7 @@
*/
static int drivePhysicalLED(const std::string& objPath,
Layout::Action action, uint8_t dutyOn,
- const uint16_t period);
+ uint16_t period);
/** @brief Set lamp test callback when enabled lamp test.
*