diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2016-07-03 09:45:26 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-07 17:14:01 +0200 |
commit | 3727776a8b423c55d40cf7627e27b8b03175d74d (patch) | |
tree | 7b670449252543404e2b32afc83a6b4ba20ffaa8 | |
parent | 5b2d55ed95092b41bd1cde7d0a0882cff24a9ff3 (diff) | |
download | coreboot-3727776a8b423c55d40cf7627e27b8b03175d74d.tar.xz |
soc: Remove newline from `CHIP_NAME`
The name must not terminated with a newline character `\n` as it would
make it hard to use it strings. So, remove the newline from the two SoCs
with it.
Change-Id: I7570442b38a455e7c497d7f461c208fb0a88296d
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/15540
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r-- | src/soc/mediatek/mt8173/soc.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/soc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c index 5b560f54bd..686f9738b1 100644 --- a/src/soc/mediatek/mt8173/soc.c +++ b/src/soc/mediatek/mt8173/soc.c @@ -39,6 +39,6 @@ static void enable_soc_dev(device_t dev) } struct chip_operations soc_mediatek_mt8173_ops = { - CHIP_NAME("SOC Mediatek MT8173\n") + CHIP_NAME("SOC Mediatek MT8173") .enable_dev = enable_soc_dev, }; diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index ef0c9c7022..1adf3f6959 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -55,6 +55,6 @@ static void enable_soc_dev(device_t dev) } struct chip_operations soc_rockchip_rk3399_ops = { - CHIP_NAME("SOC Rockchip RK3399\n") + CHIP_NAME("SOC Rockchip RK3399") .enable_dev = enable_soc_dev, }; |