From patchwork Tue Jan 5 16:47:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 71072 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 o05H6Lte015897 for ; Tue, 5 Jan 2010 17:06:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755225Ab0AERFx (ORCPT ); Tue, 5 Jan 2010 12:05:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755223Ab0AERFp (ORCPT ); Tue, 5 Jan 2010 12:05:45 -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 S1754970Ab0AERDU (ORCPT ); Tue, 5 Jan 2010 12:03:20 -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/tveeprom.c: use %pM to show MAC address Date: Tue, 5 Jan 2010 09:47:36 -0700 Cc: linux-media@vger.kernel.org, davem@davemloft.net MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201001050947.36961.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/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",