Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp461375pxj; Thu, 27 May 2021 04:34:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAMDEL9etz90fc0EQYgmJtf+1PG+kvkVqPtCEs2MPfaWYZM5GkoQox7bcNndbZOm5uhQWY X-Received: by 2002:a6b:d918:: with SMTP id r24mr2419783ioc.25.1622115293839; Thu, 27 May 2021 04:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622115293; cv=none; d=google.com; s=arc-20160816; b=bhTOqN1uI431IP2PPAg6fhP62FY/1Li75AJDR9hzTH6xzIJ3Kh+r+vjm/w9SYPnScl g/C+woWgfaUsAoP/bCceWaNk7RJlWlcyCFpyzJHqe5W63+Bx8jv3F4zYky20DXV7OlLk niNnG0qq1Hyips1aqmtEjfq90HZ4p28SBl7xrddHJ+Njz8RyoNsXuYXFa3YTDFaOXXjq DQbIC9z4xWd2n0Hdk6ZDK5/qm7KPez5hLCwL1l2ACkqZLWZ3i0aKQAgdGO78GTuEu/xU bSL7LYVY/M9PsjPuNad7c/NYf83hICphLheu0r1qiZRkCBgEYzFpKa1d6tOVWVKtpYne ZsOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=hAaDv3hE52QOLXNNMq1MuHyO9rn1ZNc0sysbG1otRT0=; b=yhQH8FQVs/6oGEe8mAiHyyEmzO2onOCbqQVrWQmg+DED/0C9u29tJ5NasJxC21i+05 +bP1w0+gOiNSiJBoeqlA//ncykjqUcjc8ywasJKe8b9Bzl1zR31h9nBs6tJamOyyBnKZ INRX3XSz5KmjjM5k1ski7OeGw7O8nG7jLqq72neKQt94JcSXb5c0L69XaQTQbsX+m+t3 Gy0Yl0ZjHLuCioCj0Y5yRmcgn5aXLJp9z2QqLJ6KwRnGorC07nKQ1QQTGOy/+MhQQq/+ tYqiIzlH6E2Tn5lOVDeJaaPtR3OhpN+nDiSZlAB1+H+cQb1yAV6Y1crpdVzEXAudUrZz bE7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o10si2178718ilf.52.2021.05.27.04.34.22; Thu, 27 May 2021 04:34:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233597AbhE0Ldf (ORCPT + 99 others); Thu, 27 May 2021 07:33:35 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:49293 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S233253AbhE0Lde (ORCPT ); Thu, 27 May 2021 07:33:34 -0400 X-UUID: 4ad4a21d1d84468e80715bde6dc324b1-20210527 X-UUID: 4ad4a21d1d84468e80715bde6dc324b1-20210527 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1140780065; Thu, 27 May 2021 19:31:59 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 May 2021 19:31:57 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 27 May 2021 19:31:57 +0800 From: To: CC: , , , , , , , Subject: [RESEND] i2c: mediatek: Rename i2c irq name Date: Thu, 27 May 2021 19:31:50 +0800 Message-ID: <1622115110-7051-1-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qii Wang Rename i2c irq name with dev_name() which can provide unique naming in /proc/interrupts for each instance of the I2C IP core. Signed-off-by: Qii Wang --- drivers/i2c/busses/i2c-mt65xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index 5ddfa4e..ea337ba 100644 --- a/drivers/i2c/busses/i2c-mt65xx.c +++ b/drivers/i2c/busses/i2c-mt65xx.c @@ -1281,7 +1281,7 @@ static int mtk_i2c_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, irq, mtk_i2c_irq, IRQF_NO_SUSPEND | IRQF_TRIGGER_NONE, - I2C_DRV_NAME, i2c); + dev_name(&pdev->dev), i2c); if (ret < 0) { dev_err(&pdev->dev, "Request I2C IRQ %d fail\n", irq); -- 1.9.1