From patchwork Mon Sep 28 15:03:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Rosset X-Patchwork-Id: 50401 X-Patchwork-Delegate: dougsland@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8SF3o3J030256 for ; Mon, 28 Sep 2009 15:03:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751621AbZI1PDp (ORCPT ); Mon, 28 Sep 2009 11:03:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751709AbZI1PDp (ORCPT ); Mon, 28 Sep 2009 11:03:45 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:25758 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599AbZI1PDp (ORCPT ); Mon, 28 Sep 2009 11:03:45 -0400 Received: by an-out-0708.google.com with SMTP id d40so4914340and.1 for ; Mon, 28 Sep 2009 08:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id :disposition-notification-to:date:from:reply-to:user-agent :mime-version:to:cc:subject:x-enigmail-version:content-type; bh=I27rfj60x39t0doQvWgiycWRqOksV4UMhdM8rjhkFrI=; b=SmwsGfz52dk8JayF5ewuJ9esHlpcgCPFPWC+B+yfBtolDcOUvJmJICKd/EmtQN4tLn rreZcPjhoqI/ZawmY0XZpvt1naH3fItMFfYzmZm/XAGze8TAIu99j4EVdXUniZ4thdQH Yh4ZTJEEzcEdYPK0b1fppoI1pC8XFxDL4ms74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:reply-to :user-agent:mime-version:to:cc:subject:x-enigmail-version :content-type; b=xODcGgQHfi7kXqHrZqHDuxzeXFcIPhB6xNLfMjKg0CasiJS6t3cIovT5PmE/rraZQl VCoUtzK5EMgsFF8HJrncm+Jl8OppNLujz2r7EmfD/6DNyX1eXpJH/raW3SluOtrLnJEX u0/dpxvSFG9P3hV0IofoMIZGsphP+D3JqhtUY= Received: by 10.101.113.16 with SMTP id q16mr3094874anm.47.1254150228986; Mon, 28 Sep 2009 08:03:48 -0700 (PDT) Received: from ?192.168.1.26? (200-102-97-88.cslce701.dsl.brasiltelecom.net.br [200.102.97.88]) by mx.google.com with ESMTPS id b29sm1746872ana.11.2009.09.28.08.03.43 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Sep 2009 08:03:47 -0700 (PDT) Message-ID: <4AC0D046.5000701@gmail.com> Date: Mon, 28 Sep 2009 12:03:34 -0300 From: Filipe Rosset Reply-To: rosset.filipe@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: linux-media@vger.kernel.org CC: Douglas Schilling Landgraf , Mauro Carvalho Chehab Subject: [PATCH 1/2] em28xx: Convert printks to em28xx_err X-Enigmail-Version: 0.97a Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org em28xx: Convert printks to em28xx_err From: Filipe Rosset Convert printks to em28xx_err Priority: normal Signed-off-by: Filipe Rosset diff -r 6b7617d4a0be linux/drivers/media/video/em28xx/em28xx-audio.c --- a/linux/drivers/media/video/em28xx/em28xx-audio.c Sat Sep 26 13:45:03 2009 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx-audio.c Mon Sep 28 10:49:25 2009 -0300 @@ -335,7 +335,7 @@ dprintk("opening device and trying to acquire exclusive lock\n"); if (!dev) { - printk(KERN_ERR "BUG: em28xx can't find device struct." + em28xx_err("BUG: em28xx can't find device struct." " Can't proceed with open\n"); return -ENODEV; } @@ -367,7 +367,7 @@ return 0; err: - printk(KERN_ERR "Error while configuring em28xx mixer\n"); + em28xx_err("Error while configuring em28xx mixer\n"); return ret; }