From patchwork Tue Jan 5 16:49:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 71071 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o05H6Ltd015897 for ; Tue, 5 Jan 2010 17:06:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932090Ab0AERD0 (ORCPT ); Tue, 5 Jan 2010 12:03:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932087Ab0AERDX (ORCPT ); Tue, 5 Jan 2010 12:03:23 -0500 Received: from [206.15.93.42] ([206.15.93.42]:9423 "EHLO visionfs1.visionengravers.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932077Ab0AERDV (ORCPT ); Tue, 5 Jan 2010 12:03:21 -0500 X-Greylist: delayed 1075 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Jan 2010 12:03:20 EST From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] drivers/media/video/cx23885/cx23885-dvb.c: use %pM to show MAC address Date: Tue, 5 Jan 2010 09:49:37 -0700 Cc: linux-media@vger.kernel.org, stoth@kernellabs.com, davem@davemloft.net MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201001050949.37415.hartleys@visionengravers.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index e45d2df..f9243de 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c @@ -994,15 +994,8 @@ static int dvb_register(struct cx23885_tsport *port) netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); memcpy(port->frontends.adapter.proposed_mac, cinfo.port[port->nr - 1].mac, 6); - printk(KERN_INFO "NetUP Dual DVB-S2 CI card port%d MAC=" - "%02X:%02X:%02X:%02X:%02X:%02X\n", - port->nr, - port->frontends.adapter.proposed_mac[0], - port->frontends.adapter.proposed_mac[1], - port->frontends.adapter.proposed_mac[2], - port->frontends.adapter.proposed_mac[3], - port->frontends.adapter.proposed_mac[4], - port->frontends.adapter.proposed_mac[5]); + printk(KERN_INFO "NetUP Dual DVB-S2 CI card port%d MAC=%pM\n", + port->nr, port->frontends.adapter.proposed_mac); netup_ci_init(port); break;