Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3559115pxy; Mon, 26 Apr 2021 04:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfgNaJy9k5wkLSKlBpBGd2xG9Nv3vNKXCR4+b3DZEAiJ/LOFUryN5DfMVKI+F2hy0SekrK X-Received: by 2002:a17:902:dacd:b029:e5:cf71:3901 with SMTP id q13-20020a170902dacdb02900e5cf713901mr17937233plx.23.1619437647537; Mon, 26 Apr 2021 04:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619437647; cv=none; d=google.com; s=arc-20160816; b=oGVL3TyhrI+Mc9EKukxrzBI6GIMm5PTpVzAXG4zjUpXcX2IwyRF4KKbbmLr1C1v+9G ZKUTJXMwKAfuN+tfZn0lDBEyE2Ahx3iMPyqB3WaGvpskLiJoeie1rF1WJlMMAMkBPIo9 ZaiduNg1itnOGIXbbvq/fbhcOmvdrlBGywadvt++tnjBU6o4HNX0DXwfsZY1pUHyp8Qq d6wEHyDgWgci8Ya78axr+r9n0QBUm3WzcybxiDr+C7+9rBoPwgfSH0TMfhONUk8PuDZ1 dufmPVrC75sjP5ncupLPdFqDDti1rVMomWcclwt8rGwK0NQONVVDe9S71XBhkr/IVzMR Qdxg== 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=1IvOQ9jKuHt8VGS8ylZSBxvLn9Seo7BVQplcuoEA7jnbI9PJN0zNrwDR8CDYXfyheu /xcv6vCvsv2Gf5tgCy9gdXe8I2NQG1m9WCySz57ovmmJfCnZdblDG8mVPBsjh2pBmxqC jF4cnok/CL7UHsjSh477J266XFnM+MCTeoYCYCZuyBQw9Hrx1PvQAC3vC4jPEe3IM9wl kRaKyXMUzdPBWFXCG0GGC9iX6E1OHWWNdfTPUSd1W9xOOGsO8bIZlTQwioU7PdMgP7Z/ zLmCXJNspG7jhXgs8b3zQfOZtq/AlQlh/FT/kyracGfqQsx2Vf8N2pOKKQkmO7bMzR2m DS9A== 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 v18si20254055pjg.59.2021.04.26.04.47.12; Mon, 26 Apr 2021 04:47:27 -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 S232589AbhDZLrJ (ORCPT + 99 others); Mon, 26 Apr 2021 07:47:09 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:41333 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231903AbhDZLrH (ORCPT ); Mon, 26 Apr 2021 07:47:07 -0400 X-UUID: 94edfb9fe81e4423bea3d297853337f0-20210426 X-UUID: 94edfb9fe81e4423bea3d297853337f0-20210426 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1069741018; Mon, 26 Apr 2021 19:46:23 +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; Mon, 26 Apr 2021 19:46:22 +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; Mon, 26 Apr 2021 19:46:19 +0800 From: To: CC: , , , , , , , Subject: [PATCH] i2c: mediatek: Rename i2c irq name Date: Mon, 26 Apr 2021 19:46:15 +0800 Message-ID: <1619437575-23482-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