From patchwork Wed Apr 18 09:33:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Ilie X-Patchwork-Id: 153445 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 291EDB733D for ; Wed, 18 Apr 2012 19:32:12 +1000 (EST) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 1CFE2B6ED0; Wed, 18 Apr 2012 19:30:56 +1000 (EST) Received: by wibhn6 with SMTP id hn6so355224wib.14 for ; Wed, 18 Apr 2012 02:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=Or3ra2R7FaxB11X3q8uhmoi25RVQMekDMAgHrndM7pk=; b=tfFaRBdzBXM/1oI0ja9KVAEUbbow7CkwANn56zhH2Mg035VD9Eu+/8IFuTkwFR8zyc /be06w86v2pHhgFeEfjZd9re+1ELS1+UYjSqqBygIkjkQrz5Q5sLwow2iIkyWAX94a6O zYeKEPdywcw9HT1xF7uyDDFnyoGsSDRL1FLrxQ1Fk4X93fxtBDuI3sidmH0EwBZiEOpA IOObDXcRFa2ALQw8FZeXSivusotplKgOZd6jzVxLR0FuHagCD4t9P+ii0NyGvCvHR1PE K4ircHDnSwx5xTinLqM9IQc0V1aRf7zYRKg5Ku5i+jv+m+laWWJnXHTR0jAjB/9D3aul +IBg== Received: by 10.180.77.4 with SMTP id o4mr4464033wiw.17.1334741452916; Wed, 18 Apr 2012 02:30:52 -0700 (PDT) Received: from valentin-EX620.rogrid.pub.ro ([141.85.99.91]) by mx.google.com with ESMTPS id ea6sm33305849wib.5.2012.04.18.02.30.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Apr 2012 02:30:52 -0700 (PDT) From: Valentin Ilie To: geoff@infradead.org Subject: [PATCH] Drivers: ps3: ps3av.c: fixed checkpatch warnings Date: Wed, 18 Apr 2012 12:33:31 +0300 Message-Id: <1334741611-3296-1-git-send-email-valentin.ilie@gmail.com> X-Mailer: git-send-email 1.7.9.5 Cc: cbe-oss-dev@lists.ozlabs.org, Valentin Ilie , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Fixed some checkpatch warnings. (review) Last patch didn't compile. Signed-off-by: Valentin Ilie Reviewed-by: Jesper Juhl --- drivers/ps3/ps3av.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c index a409fa0..636e618 100644 --- a/drivers/ps3/ps3av.c +++ b/drivers/ps3/ps3av.c @@ -338,7 +338,7 @@ int ps3av_do_pkt(u32 cid, u16 send_len, size_t usr_buf_size, mutex_unlock(&ps3av->mutex); return 0; - err: +err: mutex_unlock(&ps3av->mutex); printk(KERN_ERR "%s: failed cid:%x res:%d\n", __func__, cid, res); return res; @@ -477,7 +477,6 @@ int ps3av_set_audio_mode(u32 ch, u32 fs, u32 word_bits, u32 format, u32 source) return 0; } - EXPORT_SYMBOL_GPL(ps3av_set_audio_mode); static int ps3av_set_videomode(void) @@ -870,21 +869,18 @@ int ps3av_set_video_mode(int id) return 0; } - EXPORT_SYMBOL_GPL(ps3av_set_video_mode); int ps3av_get_auto_mode(void) { return ps3av_auto_videomode(&ps3av->av_hw_conf); } - EXPORT_SYMBOL_GPL(ps3av_get_auto_mode); int ps3av_get_mode(void) { return ps3av ? ps3av->ps3av_mode : 0; } - EXPORT_SYMBOL_GPL(ps3av_get_mode); /* get resolution by video_mode */ @@ -902,7 +898,6 @@ int ps3av_video_mode2res(u32 id, u32 *xres, u32 *yres) *yres = video_mode_table[id].y; return 0; } - EXPORT_SYMBOL_GPL(ps3av_video_mode2res); /* mute */ @@ -911,7 +906,6 @@ int ps3av_video_mute(int mute) return ps3av_set_av_video_mute(mute ? PS3AV_CMD_MUTE_ON : PS3AV_CMD_MUTE_OFF); } - EXPORT_SYMBOL_GPL(ps3av_video_mute); /* mute analog output only */ @@ -935,7 +929,6 @@ int ps3av_audio_mute(int mute) return ps3av_set_audio_mute(mute ? PS3AV_CMD_MUTE_ON : PS3AV_CMD_MUTE_OFF); } - EXPORT_SYMBOL_GPL(ps3av_audio_mute); static int __devinit ps3av_probe(struct ps3_system_bus_device *dev)