From patchwork Wed Jan 20 09:47:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Panizzo X-Patchwork-Id: 74031 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0K9lXLC015214 for ; Wed, 20 Jan 2010 09:47:33 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXX9u-0006nf-BG; Wed, 20 Jan 2010 09:47:30 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXX9s-0006nS-TN for spi-devel-general@lists.sourceforge.net; Wed, 20 Jan 2010 09:47:28 +0000 Received-SPF: pass (sfi-mx-1.v28.ch3.sourceforge.com: domain of gmail.com designates 72.14.220.158 as permitted sender) client-ip=72.14.220.158; envelope-from=maramaopercheseimorto@gmail.com; helo=fg-out-1718.google.com; Received: from fg-out-1718.google.com ([72.14.220.158]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NXX9q-0000Su-EJ for spi-devel-general@lists.sourceforge.net; Wed, 20 Jan 2010 09:47:28 +0000 Received: by fg-out-1718.google.com with SMTP id e21so133973fga.10 for ; Wed, 20 Jan 2010 01:47:20 -0800 (PST) Received: by 10.87.73.33 with SMTP id a33mr3102616fgl.26.1263980839787; Wed, 20 Jan 2010 01:47:19 -0800 (PST) Received: from ?192.168.1.101? (host-9473-86-114.popwifi.it [94.73.86.114]) by mx.google.com with ESMTPS id l19sm15708603fgb.23.2010.01.20.01.47.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 01:47:17 -0800 (PST) From: Alberto Panizzo To: spi-devel-list Date: Wed, 20 Jan 2010 10:47:14 +0100 Message-ID: <1263980834.3083.18.camel@realization> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.0 DKIM_SIGNED Domain Keys Identified Mail: message has a signature -1.2 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NXX9q-0000Su-EJ Cc: linux-kernel , Andrew Morton , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= Subject: [spi-devel-general] [PATCH] spi: spi_imx: add device information to debug. X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index 89c22ef..18bbfa3 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c @@ -466,7 +466,7 @@ static int spi_imx_setup(struct spi_device *spi) struct spi_imx_data *spi_imx = spi_master_get_devdata(spi->master); int gpio = spi_imx->chipselect[spi->chip_select]; - pr_debug("%s: mode %d, %u bpw, %d hz\n", __func__, + dev_dbg(&spi->dev, "%s: mode %d, %u bpw, %d hz\n", __func__, spi->mode, spi->bits_per_word, spi->max_speed_hz); if (gpio >= 0)