commit | 7c1a30229c7017b812394dc779ec9e1052824dfa | [log] [tgz] |
---|---|---|
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | Mon Oct 05 09:57:30 2020 +0300 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 14 11:16:34 2020 -0400 |
tree | 42172f930f85c5529e8ea9670b8c6e84cd0dc247 | |
parent | 5de2f339822b5fc838ed9572de379a1aae3e7f95 [diff] |
checkpatch.pl: Make CONFIG_IS_ENABLED(CONFIG_*) an error CONFIG_IS_ENABLED() takes the kconfig name without the CONFIG_ prefix, e.g. CONFIG_IS_ENABLED(CLK) for CONFIG_CLK. Make including the prefix an error in checkpatch.pl so calls in the wrong format aren't accidentally reintroduced. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>