From 3727776a8b423c55d40cf7627e27b8b03175d74d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 3 Jul 2016 09:45:26 +0200 Subject: soc: Remove newline from `CHIP_NAME` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/15540 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/soc/mediatek/mt8173/soc.c | 2 +- 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, }; -- cgit v1.2.3