diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2021-03-08 22:38:08 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-12 17:17:11 -0400 |
commit | c3bba708da5ec3066bfaaaede8783e891f984a1a (patch) | |
tree | 7aa4b510c220324467383ed9f11ff95347731e71 /arch/sandbox | |
parent | 0124218b8b4762621f5ff74bd03eb1bcb1d4e733 (diff) | |
download | u-boot-c3bba708da5ec3066bfaaaede8783e891f984a1a.tar.gz u-boot-c3bba708da5ec3066bfaaaede8783e891f984a1a.tar.bz2 u-boot-c3bba708da5ec3066bfaaaede8783e891f984a1a.zip |
firmware: scmi: fix inline comments and minor coding style issues
Fix inline comments and empty line in scmi driver and test files.
Remove test on IS_ENABLED(CONFIG_*_SCMI) in test/dm/scmi.c since these
configuration are expected enabled when CONFIG_FIRMWARE_SCMI is enabled
in sandbox configuration.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/include/asm/scmi_test.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sandbox/include/asm/scmi_test.h b/arch/sandbox/include/asm/scmi_test.h index 9b70315314..2930e686d7 100644 --- a/arch/sandbox/include/asm/scmi_test.h +++ b/arch/sandbox/include/asm/scmi_test.h @@ -24,6 +24,7 @@ struct sandbox_scmi_clk { /** * struct sandbox_scmi_reset - Simulated reset controller exposed by SCMI + * @id: Identifier of the reset controller used in the SCMI protocol * @asserted: Reset control state: true if asserted, false if desasserted */ struct sandbox_scmi_reset { @@ -48,8 +49,8 @@ struct sandbox_scmi_voltd { * @idx: Identifier for the SCMI agent, its index * @clk: Simulated clocks * @clk_count: Simulated clocks array size - * @clk: Simulated reset domains - * @clk_count: Simulated reset domains array size + * @reset: Simulated reset domains + * @reset_count: Simulated reset domains array size * @voltd: Simulated voltage domains (regulators) * @voltd_count: Simulated voltage domains array size */ |