Message ID | 20240224114516.86365-10-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1105517dyb; Sat, 24 Feb 2024 03:48:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWP/szxCRNm2DBRfl99QboFHGhsPvFtOtbi5n11I3fvmwRs6E5coDatD48hjC4sCngH2wBfl7VBj39W8fX82ckkpU7aVw== X-Google-Smtp-Source: AGHT+IHcvgbLzh201QqDOxaPXM4mTbhi4m0Bo5CR2+HYXsFn34ibfUalPSfH3mEMeKOHdZ77o2Rp X-Received: by 2002:a17:907:20b4:b0:a3f:86f0:cf6a with SMTP id pw20-20020a17090720b400b00a3f86f0cf6amr1439940ejb.16.1708775301039; Sat, 24 Feb 2024 03:48:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708775301; cv=pass; d=google.com; s=arc-20160816; b=ZxBqjIaxZQAG2HBTxVHUz79F68FURHtvRgsoZ8extcos70ogcQAtuSdVOBhVaQBk2Z wLaNfcrqEp+JCtgy1R0bgzW9hyE6JdInNfmt8rhDvqcSKgCD2nekm5JgnAYPSiPq8NWx ElBb+3N0JNd8TbXcxK96GPzsQZ9o6iUgEVO25eyt6KAgFyVu5n4SOQprl059JOTJYihR x/w6drytPEP+EQsHJ4Q7NLws0O2H0XdJuVGuazMK7u0vGohyx2MJVfD+sjSA6MERByZQ alCX0pAL/De8VhYiLHyKpsSS3fagcZIKWuYuNwirgT5/PA88GhDybNiWd+Da00+C06sm zFrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=URkw6QL3Oq/n4HIqTGKXvI0jPn9hoyzzXsS9+93dgl8=; fh=lwiaz9xUg0emiuzTgwJFLXAvDUx0/39QDaCsa9q6Gwo=; b=z20SeTNrXXN8JgLYoqC6cs/I3EXwzLBXeeX8qu1MO83FZ29OCUSNAZkhrp9biXMTkB GxpxwQU97ukSQ7UgTm54D3OTKfWz5V37Q14Jo4s8eRcqVPhnEsctFhBfERDe3rkO620p hqHCvZMp5x2Q8gNvfgfqBcWdteRBlTs2Sz8NxZWa13XDAC4Hc5P4sSB0/6RoAUafcJte AEhf/8DYjjKnTSJKxIEf0DBdYjy4lAXUEfA47xwI4ofkt1CYy8L5Weje3vFYGVoark2e MdDQ3AxfoE3XmezahILMrmqqyOVFS1X3Yjte8wCobysdSrOgow0GTUlu4pst2lA6uYV4 0TaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hE+dd33k; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j22-20020a1709066dd600b00a3f4e9e6783si472671ejt.522.2024.02.24.03.48.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 03:48:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hE+dd33k; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79612-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9B6C81F22405 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 11:48:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F7764C3DE; Sat, 24 Feb 2024 11:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hE+dd33k" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3EEC45BF1 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 11:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775155; cv=none; b=cW+bcm+h+9AQ64WvlfKnC0iMhRp25W9KcrIakoP8nqRWBxVzfssNZocTe0kpX5xkDpxmlMpXit40BlJ93fiv5da1faex2Y1CC/FpXegggSDdJEm/0UksQPPwpe08ZGEFtdBKDZQKzR6ahyV2/lAY7bJLfXU6oNs2IRHF6V3914k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775155; c=relaxed/simple; bh=hRacKiyoOozAs2YwTKpgReT2IizopoY29GJ/KuQJzc4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=bYp4QltMgeV6+ka//290v4J+I/q577Pzlor580DpP/BYPMKr8LLTixgWRXTJt7TBxl/Skf8bIaj+EqJUZrzxExgwjTqjAEOvmhFJSA7qUF8L82Ber7txWmyJarPB7QaSN1XpdH1rtusq+3bbaB+eYAzClOFNEMhMMwVPWTpFdwk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=hE+dd33k; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a3e550ef31cso195951166b.3 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 03:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708775152; x=1709379952; darn=vger.kernel.org; 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=URkw6QL3Oq/n4HIqTGKXvI0jPn9hoyzzXsS9+93dgl8=; b=hE+dd33kQKPztXu216g7h+auQ4Ksw4lB4+8L7kLCuiDgiFNTFPcya9fK41lvXSHD0T i1eRyZ85TPPvgYwYLxb8e1yFcE2TyxTz2lk+gqAb40emLj3LSHGYqM4SzFJLT4uJc8In pkRcFSfuKw1JCNswKwIkAP/G7TOveShhKDHRgP5oeYHOCLmsvqNejhBFLHpXC1Ui3+/0 GF/vKqEXGKZMPL39QKisWxLFw7uPnFr6TTaJTpF0b01/gEIciN1Ky38Gg57R/ebG331a r4Pg0QYSrEClVhkm/qVOjWdWEt6M5lz9t3kQLREjwaVytMN6x1OQlXnwFo6ZA1/UclQ7 TSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708775152; x=1709379952; 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=URkw6QL3Oq/n4HIqTGKXvI0jPn9hoyzzXsS9+93dgl8=; b=XLp4qPsYaKwHA2m55oSDYrYhVhhcnEwpwEaCQNTCMJ0oakmYC27+jAd/4qObCsdCtq Vf69vW4Jupd+VWCKTpRLBqmQe4DjD4W0RGVgV+5V4om19tzJcor2B/kLNVXs3hzgPMcp 3NfJcBuCNFWwKm2kv/0gdOJ6qayo3xlgFV2addQR/MPnkT3jaYVr3nQMXLXzmLV9Abb+ bwiJeXcQCNZIl62gb/ZlRjXi3fGBShLety1VTCi6CfqiZPRuNG3Hq7t1PetrqsZbENFr w+u+T0TdGkHF+YvSpJZTvGiEHV2AjUb5cf04mTWRSJdpPt5zJ2lERhhuEH5IiylKN5C2 exUw== X-Gm-Message-State: AOJu0YyPQ5eqBe240D7duQSa9lJK1ltAVSbWoVOv+buuHYGMBJohTdH4 MEKTDWtdNAjQNcRrI/Yf+CT3RAsJqm/8Wc2XqFYU5/b2xFZK0g4AlZqMFWA7rCY= X-Received: by 2002:a17:906:f15a:b0:a3e:66b5:d65f with SMTP id gw26-20020a170906f15a00b00a3e66b5d65fmr1364758ejb.67.1708775152267; Sat, 24 Feb 2024 03:45:52 -0800 (PST) Received: from localhost.localdomain (82-132-212-111.dab.02.net. [82.132.212.111]) by smtp.gmail.com with ESMTPSA id jp10-20020a170906f74a00b00a3e209b225asm517826ejb.43.2024.02.24.03.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 03:45:51 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Chen-Yu Tsai <wenst@chromium.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= <nfraprado@collabora.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 09/11] nvmem: mtk-efuse: Drop NVMEM device name Date: Sat, 24 Feb 2024 11:45:14 +0000 Message-Id: <20240224114516.86365-10-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240224114516.86365-1-srinivas.kandagatla@linaro.org> References: <20240224114516.86365-1-srinivas.kandagatla@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1143; i=srinivas.kandagatla@linaro.org; h=from:subject; bh=LEPiqIe9wBwdCEI4P2jYHCIQnpNr5K0HnCD0iOgejQk=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBl2dbMfoh4mpVIdPSn++fEFATNn4svgaGXpjR3i vH8rIVjdSGJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZdnWzAAKCRB6of1ZxzRV NySMB/0aBffAawyRKQzW4dVgLR2bNJiKwVW0LoncNsH7PKekAQXhPjEu7AWzYnCTo0zNtOldSE0 W+9wbQ6DDSCSqYmOcpd/UClepnkBIFypGGu4pvYMwcBHQRxy2NIHxxc2elcYjWLEljRsYTpp5UO LxgZT6fxqYCZPixHMAMGLLVb64GoNMq1HECZoLvU1o4XiAt6F2jyXvfdl9imIkJcoR9k2l19MeD CzTCUvpgltHd9ZrnqbGkscZ0h11KKsUqL3pfDgOUjUWibdsNHhtPq44c+oCrhR6YjiICTaSz12Z al0WW8sq52jyBimagdV9R3g9l3qTG3ISxvARLCYNiPX408Aw X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791780769788518776 X-GMAIL-MSGID: 1791780769788518776 |
Series |
nvmem: patches(set 1) for 6.9
|
|
Commit Message
Srinivas Kandagatla
Feb. 24, 2024, 11:45 a.m. UTC
From: Chen-Yu Tsai <wenst@chromium.org> The MT8183 has not one but two efuse devices. The static name and ID causes the second efuse device to fail to probe, due to duplicate sysfs entries. With the rework of the mtk-socinfo driver, lookup by name is no longer necessary. The custom name can simply be dropped. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- drivers/nvmem/mtk-efuse.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/nvmem/mtk-efuse.c b/drivers/nvmem/mtk-efuse.c index f5bebcecf9bd..9caf04667341 100644 --- a/drivers/nvmem/mtk-efuse.c +++ b/drivers/nvmem/mtk-efuse.c @@ -86,7 +86,6 @@ static int mtk_efuse_probe(struct platform_device *pdev) econfig.size = resource_size(res); econfig.priv = priv; econfig.dev = dev; - econfig.name = "mtk-efuse"; if (pdata->uses_post_processing) econfig.fixup_dt_cell_info = &mtk_efuse_fixup_dt_cell_info; nvmem = devm_nvmem_register(dev, &econfig);