From patchwork Wed Dec 30 19:13:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 70294 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 nBUJDxkt023964 for ; Wed, 30 Dec 2009 19:16:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752350AbZL3TQH (ORCPT ); Wed, 30 Dec 2009 14:16:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751548AbZL3TQH (ORCPT ); Wed, 30 Dec 2009 14:16:07 -0500 Received: from exprod6og104.obsmtp.com ([64.18.1.187]:54647 "HELO exprod6og104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751468AbZL3TQG convert rfc822-to-8bit (ORCPT ); Wed, 30 Dec 2009 14:16:06 -0500 X-Greylist: delayed 428 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Dec 2009 14:16:05 EST Received: from source ([63.240.6.3]) (using TLSv1) by exprod6ob104.postini.com ([64.18.5.12]) with SMTP ID DSNKSzum89m95u/INyDmsLlkkfkkhb0barn1@postini.com; Wed, 30 Dec 2009 11:16:06 PST Received: from D01HOST03.Mi8.com ([172.16.1.25]) by Outbound01.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 14:13:08 -0500 Received: from mi8nycmail19.Mi8.com ([172.16.7.219]) by D01HOST03.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 14:13:08 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [PATCH] drivers/media/video/tveeprom.c: use %pM to show MAC address Date: Wed, 30 Dec 2009 14:13:10 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] drivers/media/video/tveeprom.c: use %pM to show MAC address Thread-Index: AcqJhCAXnP9ao0PcRaSO9qNm/2B6Og== From: "H Hartley Sweeten" To: , X-OriginalArrivalTime: 30 Dec 2009 19:13:08.0538 (UTC) FILETIME=[1F2F91A0:01CA8984] 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/tveeprom.c b/drivers/media/video/tveeprom.c index d533ea5..0a87749 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c @@ -680,10 +680,7 @@ void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee, tveeprom_info("Hauppauge model %d, rev %s, serial# %d\n", tvee->model, tvee->rev_str, tvee->serial_number); if (tvee->has_MAC_address == 1) - tveeprom_info("MAC address is %02X-%02X-%02X-%02X-%02X-%02X\n", - tvee->MAC_address[0], tvee->MAC_address[1], - tvee->MAC_address[2], tvee->MAC_address[3], - tvee->MAC_address[4], tvee->MAC_address[5]); + tveeprom_info("MAC address is %pM\n", tvee->MAC_address); tveeprom_info("tuner model is %s (idx %d, type %d)\n", t_name1, tuner1, tvee->tuner_type); tveeprom_info("TV standards%s%s%s%s%s%s%s%s (eeprom 0x%02x)\n",