From patchwork Thu Aug 8 03:14:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 817698 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp676065wrt; Wed, 7 Aug 2024 20:21:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVTh9EBIEsunEaUfdhyMUx4jikprTBbtiEOSFTbqELRiRL/qv/+MHkGT0DgcUACyFSsvSZ5yHm5nRd3vab+EXnF X-Google-Smtp-Source: AGHT+IEiCJwkrmdxPneP9NqWUQ4b5cbGWpazMGEBCpJgcDWFf2V+NHm3OclIyXQ6mHt2aLRJQuK+ X-Received: by 2002:a05:6402:280c:b0:59f:9f59:b034 with SMTP id 4fb4d7f45d1cf-5bbb3c8f81emr338299a12.13.1723087262737; Wed, 07 Aug 2024 20:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723087262; cv=none; d=google.com; s=arc-20160816; b=SidvpMoUOag8FZGQHrSlrCKXvWOI1r8Ntl0yBvIn6EWAJhjCLXk2/RsR81YnsH8zj9 zDWWHqD2XaPL1WkRwHUngzt8ifTKVJ05WNWO6g9nwnGvm0HlTR8YZ08IgJKrj61hQwDm aqMqaqBJbHNKPJ0QvO1dMO/nbcgzV4aPXMnn3Dcvx/AmotBYe92SaON/QCeWUZWHMr8e YQjWPhlkzO26zVfppRGJwyo87qoxyf0lpj8E4MOyv0WhduGf+yBdoS7OelB23mQF+O2d Wai87EEKJz/ZDcP8qqkqw2R9PwF7coOBgSOCYG5Uy/FtjJ9vuBvCNgQSWtuGuTgVDMgq vTVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RJSCepS5zMEk/aEHxN7GgskRjPtUAinU5iuesTC8YmY=; fh=XBrA0lxsZiLO05K3QQ2zmy1wTYHuby6BzzRGNGv6YZ4=; b=L1uUQOuQUHM1pNsdJOm1ckYydWJ0AaIpQijuJh5NDvTQQQGAqHJ+MZKoazCBMGbWGz dWFM9AOt6v2eF7hFqJuMd3BZIf5EFSLHMXV5tOKUs3vvHunQaoyoVMNXLwz3k0BCRC6k WrnZRyQNrwOCi2sh10T3Q6iPLbczREHkf6j3+QaswDUE8udGGgaKXGkO7ngicX4gPFez bTSPjZu/cjrvHe5AgOZH0vHY0Od2A9RLqPqIuMZkUPqWn3Tv7DdjjfwJThMgwBqdenCI 4uXHRoA1ObTphp3UM9XVqg6UItugIHdN9uYCdh3HF7LPCS52OaJGl8fP8j1UwVm4yhAa szog==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zwYTwJKe; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5bbb2c1f643si255780a12.183.2024.08.07.20.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 20:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zwYTwJKe; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 53D7E88C44; Thu, 8 Aug 2024 05:15:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="zwYTwJKe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 00C9A88A34; Thu, 8 Aug 2024 05:15:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B9C1588C1C for ; Thu, 8 Aug 2024 05:15:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5d5c7f23f22so297675eaf.0 for ; Wed, 07 Aug 2024 20:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723086910; x=1723691710; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RJSCepS5zMEk/aEHxN7GgskRjPtUAinU5iuesTC8YmY=; b=zwYTwJKez4AxsIeS6mu7ZR7U1zd3vtqHYNPyqdT3SZ3Talt3lrBu/jMjOG+L4J3p7Y acdnj3JTVIOVhOF/lOiyaXgQaCk+2ZddKCK4WYik+u0pf638FH0wDcCtfnWI3fW6Go0Y inhQ+him99t5/AuaWSssFqYCSdej1H86lLz2TbXFocBdhnBXUWK3FAe5cs4qXvwzVjYF JEsrMsqMl4YZN8GHmpx/S0G1L3F4O+E7I8G+XRVC8nzbAGj/Ei3HtZZclZsTjHd9Zh6X fScLupLv32g3Vab48whkI4edN6gdqLHjrK38GoAe6VdsPVjU+/LiTwnTdIQ/+HTDLK5h tANw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723086910; x=1723691710; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RJSCepS5zMEk/aEHxN7GgskRjPtUAinU5iuesTC8YmY=; b=sPVsXrkNrETNr7Tc8MwUoI3KnyQe13Lu3glyhzGLf7LReslhcogPVzKP0Bhx8QfEeo cqq+hFUq6TDJMPUXMUr0ExzYNa9Kh/TCWosHhP45bsev4ssucnV6iHgtwMPGPrCmaO8G VGQ/Z7Zak+/ht6oEMDY+Vs8JT8jP98KzwDqLQxBfAhNDKwjW5bAJqVgCuJaukbDRvNvk UAJ0GGg2+eNgtvRgK2eC+ez8BjtKRPbdkMpNAwEK1er0wZiKmeW7r57QvBuBLjVMYJzF NdmLr4J22aBft8Bwvd7pZ6l7slrdNrvR5QnRdwDIhQY2NJBPtO9PAFgetk4ob+gfxL2e Hycw== X-Forwarded-Encrypted: i=1; AJvYcCVU3HwVk4VULOcpAquC6hcd7ewDvfluJd/RerHLvRzjSP1htcynRY1urSnuQ0fdPG45oe4hDKOU6WV3hgO28js6YkJB9g== X-Gm-Message-State: AOJu0Yzna0lEiCWMJLWxfKYc3Jjn7OpVm7w4CyzZe5TDqEbsXHRLo/3P qk8+HgfRBCER1ZXQbDfAf21PfIF9EaXYzJ0YKs1WfULkAkhYsrDvgizbxXnw8Rk= X-Received: by 2002:a05:6820:1e0e:b0:5ce:d2e3:b18 with SMTP id 006d021491bc7-5d855c6e599mr551553eaf.8.1723086910240; Wed, 07 Aug 2024 20:15:10 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5d76261a27fsm3523707eaf.39.2024.08.07.20.15.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 20:15:09 -0700 (PDT) From: Sam Protsenko To: Minkyu Kang , Minkyu Kang , Jaehoon Chung Cc: Tom Rini , Henrik Grimler , Peng Fan , Simon Glass , Quentin Schulz , Philipp Tomsich , Kever Yang , Eugeniy Paltsev , Peter Robinson , Jonas Karlman , Yang Xiwen , Ferass El Hafidi , Sean Anderson , u-boot@lists.denx.de, uboot-snps-arc@synopsys.com Subject: [PATCH v5 34/38] mmc: exynos_dw_mmc: Use dev->name as driver's displayed name Date: Wed, 7 Aug 2024 22:14:40 -0500 Message-Id: <20240808031444.9619-35-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240808031444.9619-1-semen.protsenko@linaro.org> References: <20240808031444.9619-1-semen.protsenko@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Reduce U-Boot footprint by reusing dev->name as a driver's displayed name. This changes boot device name (and "mmc info" output) from "EXYNOS DWMMC" to something like "mmc@12100000". Signed-off-by: Sam Protsenko --- Changes in v5: - (none) Changes in v4: - (none) Changes in v3: - (none) Changes in v2: - (none) drivers/mmc/exynos_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c index 43111b749a6b..a9e240fd91d6 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -327,7 +327,7 @@ static int exynos_dwmmc_probe(struct udevice *dev) "continue anyway\n", host->dev_index, err); } - host->name = "EXYNOS DWMMC"; + host->name = dev->name; host->board_init = exynos_dwmci_board_init; host->caps = MMC_MODE_DDR_52MHz; host->clksel = exynos_dwmci_clksel;