From patchwork Tue Jun 24 21:42:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Goode X-Patchwork-Id: 4414291 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5282CBEEAA for ; Tue, 24 Jun 2014 21:43:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4CBB920272 for ; Tue, 24 Jun 2014 21:43:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51FF3201DD for ; Tue, 24 Jun 2014 21:43:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753375AbaFXVnD (ORCPT ); Tue, 24 Jun 2014 17:43:03 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:35694 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752526AbaFXVmr (ORCPT ); Tue, 24 Jun 2014 17:42:47 -0400 Received: by mail-lb0-f177.google.com with SMTP id u10so1204324lbd.22 for ; Tue, 24 Jun 2014 14:42:45 -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:in-reply-to:references; bh=OAjRzuxwWmXQB99aiAiS1u6NAMH4laDFM0IUOBcRkTg=; b=EhyuBxS5tTAOiOgq9czjSCX6AFEmFBuQ8Hmmm6C7CJuARtdT1Q6G3w9HoNBw37Y95i OsdvgVi0Aca56N0Ds0dSUo50oH1C1JQnfUtadcYaNs2Sfh4qF5VGBmxB/dzAgyqwu1wa f3dEScD2kiSIK6rQtrOBf/QFNUBFQgHncNwrVZwW8e8btT4V43YY/kJsGjg8jZ8eqoiE MOT29dxcE4qZa2qGHUhtoJsck1bnFIFVQMvAfXLOZur8V3DwhikLtNjlpIauCc5ad2Pt 1akPzC7AgWsl1faeQKBZU7OGfeuo1Nri3HO1tGUzJq3dWufIXDMhox7oJgUg1BuaJNOR R13g== X-Received: by 10.152.180.168 with SMTP id dp8mr2492116lac.11.1403646165637; Tue, 24 Jun 2014 14:42:45 -0700 (PDT) Received: from lianli.example.org (s83-179-48-77.cust.tele2.se. [83.179.48.77]) by mx.google.com with ESMTPSA id jf2sm1272102lbc.34.2014.06.24.14.42.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jun 2014 14:42:44 -0700 (PDT) From: Emil Goode To: Mauro Carvalho Chehab , Jiri Kosina , Hans Verkuil , Geert Uytterhoeven Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Emil Goode Subject: [PATCH 2/2] [media] Cleanup line > 80 character violations Date: Tue, 24 Jun 2014 23:42:28 +0200 Message-Id: <1403646148-25385-2-git-send-email-emilgoode@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1403646148-25385-1-git-send-email-emilgoode@gmail.com> References: <1403646148-25385-1-git-send-email-emilgoode@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This cleans up some line over 80 character violations. Signed-off-by: Emil Goode --- drivers/media/dvb-frontends/stb6100_cfg.h | 12 ++++++++---- drivers/media/dvb-frontends/tda8261_cfg.h | 9 ++++++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/media/dvb-frontends/stb6100_cfg.h b/drivers/media/dvb-frontends/stb6100_cfg.h index 0e10ad89..6edc153 100644 --- a/drivers/media/dvb-frontends/stb6100_cfg.h +++ b/drivers/media/dvb-frontends/stb6100_cfg.h @@ -27,7 +27,8 @@ static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) int err = 0; if (tuner_ops->get_state) { - if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) { + err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } @@ -46,7 +47,8 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) t_state.frequency = frequency; if (tuner_ops->set_state) { - if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) { + err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } @@ -62,7 +64,8 @@ static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) int err = 0; if (tuner_ops->get_state) { - if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) { + err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } @@ -81,7 +84,8 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) t_state.bandwidth = bandwidth; if (tuner_ops->set_state) { - if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) { + err = tuner_ops->set_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } diff --git a/drivers/media/dvb-frontends/tda8261_cfg.h b/drivers/media/dvb-frontends/tda8261_cfg.h index 7de65c3..04a19e1 100644 --- a/drivers/media/dvb-frontends/tda8261_cfg.h +++ b/drivers/media/dvb-frontends/tda8261_cfg.h @@ -25,7 +25,8 @@ static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) int err = 0; if (tuner_ops->get_state) { - if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) { + err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } @@ -45,7 +46,8 @@ static int tda8261_set_frequency(struct dvb_frontend *fe, u32 frequency) t_state.frequency = frequency; if (tuner_ops->set_state) { - if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) { + err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; } @@ -62,7 +64,8 @@ static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) int err = 0; if (tuner_ops->get_state) { - if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) { + err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state); + if (err < 0) { printk("%s: Invalid parameter\n", __func__); return err; }