From patchwork Sat Feb 22 13:23:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3701071 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DBDC8BF13A for ; Sat, 22 Feb 2014 13:24:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 170A020131 for ; Sat, 22 Feb 2014 13:24:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 025942012B for ; Sat, 22 Feb 2014 13:24:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751006AbaBVNYP (ORCPT ); Sat, 22 Feb 2014 08:24:15 -0500 Received: from fallback8.mail.ru ([94.100.176.136]:42042 "EHLO fallback8.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750942AbaBVNYP (ORCPT ); Sat, 22 Feb 2014 08:24:15 -0500 Received: from smtp31.i.mail.ru (smtp31.i.mail.ru [94.100.177.91]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id A1E32517959C for ; Sat, 22 Feb 2014 17:24:13 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=LBMMKo5yePWsW+M8OjW8jhSmfB+MEXsu5zlPJU6WXqY=; b=h2LIRECw03c/OiZAERpadoQ1cRb3u2LnsiJJ6fFOh5JlsPnYYlt+EyZsHObn8lXrDs9YtqFIYHJjSlR5X0CgS84HOe8tIRV59xcp7YlhYJtyfdNjOm2Dw68VUmWatZfzvNvuQXjnYLL6pTtU8ka284SkfJwAEYka86WTrsPRsM8=; Received: from [188.134.40.128] (port=51112 helo=shc.zet) by smtp31.i.mail.ru with esmtpa (envelope-from ) id 1WHCYg-0006uz-HB; Sat, 22 Feb 2014 17:23:58 +0400 From: Alexander Shiyan To: linux-spi@vger.kernel.org Cc: Mark Brown , Shawn Guo , Sascha Hauer , Alexander Shiyan Subject: [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs Date: Sat, 22 Feb 2014 17:23:46 +0400 Message-Id: <1393075426-20882-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Mras: Ok Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RDNS_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alexander Shiyan --- drivers/spi/spi-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index 3577939..bcb603c 100644 --- a/drivers/spi/spi-imx.c +++ b/drivers/spi/spi-imx.c @@ -884,7 +884,7 @@ static int spi_imx_probe(struct platform_device *pdev) } ret = devm_request_irq(&pdev->dev, spi_imx->irq, spi_imx_isr, 0, - DRIVER_NAME, spi_imx); + dev_name(&pdev->dev), spi_imx); if (ret) { dev_err(&pdev->dev, "can't get irq%d: %d\n", spi_imx->irq, ret); goto out_master_put;