From patchwork Sat Sep 11 17:33:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 4313 Return-path: Envelope-to: mchehab@pedra Delivery-date: Sat, 11 Sep 2010 20:33:33 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1OuZZc-0006do-Rl for mchehab@pedra; Sat, 11 Sep 2010 20:33:33 -0300 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Sat, 11 Sep 2010 20:33:32 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OuTxZ-0007VN-A3; Sat, 11 Sep 2010 17:33:53 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754208Ab0IKRdv (ORCPT + 1 other); Sat, 11 Sep 2010 13:33:51 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:40561 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753493Ab0IKRdr (ORCPT ); Sat, 11 Sep 2010 13:33:47 -0400 Received: by eyb6 with SMTP id 6so2277512eyb.19 for ; Sat, 11 Sep 2010 10:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=CUiouK2DD/1X+9sltnDx+etBxphEIXLuP0OYzURYmFc=; b=iaXhms5XNhwvb0FFkvPnafS+fc2uEouKveVTKCyLHwVzL5E2iq8i3iWxfejrEts0tH pHZPLqLScSeB30vjPAgggE93McEaeDJmUCvHfYScqK9/RbU5fb/akXyhVMMWo8lS8WYv as8Go2/hgCCQPIURpBme6AQ5WcP1yeYz+sUes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=dlhaebTIfKmO8Wm3+b045TflV6aIE/f/AFLC5Vp9e+HBu+UuQ9Djd0w01k4U4wsQqn i0w4J7Ie4FNTgwLMqWccc4N/bjLQhKVdWj1D8EIzGIfmh01N1c/jMtWUqbTDttrEkgln 27dA5fFV1gQgLbXJwoM32TDCJdbulRUb7RNhE= Received: by 10.213.34.70 with SMTP id k6mr1532402ebd.65.1284226426099; Sat, 11 Sep 2010 10:33:46 -0700 (PDT) Received: from localhost.localdomain (79-134-110-186.cust.suomicom.fi [79.134.110.186]) by mx.google.com with ESMTPS id z55sm6031816eeh.21.2010.09.11.10.33.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 10:33:45 -0700 (PDT) From: Andy Shevchenko To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mauro Carvalho Chehab , Joe Perches , Andy Shevchenko Subject: [PATCHv2 2/2] media: cx23885: use '%pM' format to print MAC address Date: Sat, 11 Sep 2010 20:33:28 +0300 Message-Id: <28b7342272db43227dcb3a06931e2ab4dd866fe3.1284226282.git.andy.shevchenko@gmail.com> X-Mailer: git-send-email 1.7.2.2 In-Reply-To: <0ffd3b30fbaa2168656dd17fbdb290cf2e0a867e.1284226281.git.andy.shevchenko@gmail.com> References: <0ffd3b30fbaa2168656dd17fbdb290cf2e0a867e.1284226281.git.andy.shevchenko@gmail.com> In-Reply-To: <0ffd3b30fbaa2168656dd17fbdb290cf2e0a867e.1284226281.git.andy.shevchenko@gmail.com> References: <0ffd3b30fbaa2168656dd17fbdb290cf2e0a867e.1284226281.git.andy.shevchenko@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab Signed-off-by: Andy Shevchenko --- drivers/media/video/cx23885/cx23885-dvb.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 3d70af2..0674ea1 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c @@ -1017,10 +1017,7 @@ static int dvb_register(struct cx23885_tsport *port) /* Read entire EEPROM */ dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, sizeof(eeprom)); - printk(KERN_INFO "TeVii S470 MAC= " - "%02X:%02X:%02X:%02X:%02X:%02X\n", - eeprom[0xa0], eeprom[0xa1], eeprom[0xa2], - eeprom[0xa3], eeprom[0xa4], eeprom[0xa5]); + printk(KERN_INFO "TeVii S470 MAC= %pM\n", eeprom + 0xa0); memcpy(port->frontends.adapter.proposed_mac, eeprom + 0xa0, 6); break; }