From patchwork Tue Jan 13 13:27:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 2146 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 n0DDNBTq006763 for ; Tue, 13 Jan 2009 05:23:11 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758082AbZAMN1L (ORCPT ); Tue, 13 Jan 2009 08:27:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758219AbZAMN1L (ORCPT ); Tue, 13 Jan 2009 08:27:11 -0500 Received: from web110809.mail.gq1.yahoo.com ([67.195.13.232]:27606 "HELO web110809.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756972AbZAMN1K (ORCPT ); Tue, 13 Jan 2009 08:27:10 -0500 Received: (qmail 88562 invoked by uid 60001); 13 Jan 2009 13:27:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=xlZFSBMl1C8SDyc9F9JZJj2wm5Wt3z4U5z6wKiAix5QQJDN1dIBvid5B8bV9jbqY7/4vVTyVVucbIIOfaHRBlr7UnQb+/2W9CI1R/5U+RnJBfyg/9CbQTcKFOxVLxiuWGsROQxV7tf8qbJSd5BYxM3tbkf2FQu/LEvpIlScGP5I=; X-YMail-OSG: uAiks3IVM1mQrSVeH4u8ON9.QJk439AlDYqazqMIDmB174kvr4Z7hvZtHDMUralp8RFe.EKF8JHkXvnJwiuJ0ths7ReNcLqpfZQ_tezni2BBBNjIWguHot39bnMin2miJa.PVcCPiU2XL5SZUtU18nqW4NtDO3z5m78jeTdmwbzW5nfnZTqt7qF7sxjsJmoIzB3KZsHYXZJ2lBzqLn5EshZlSm1FICiyp8Y- Received: from [199.203.99.233] by web110809.mail.gq1.yahoo.com via HTTP; Tue, 13 Jan 2009 05:27:09 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 13 Jan 2009 05:27:09 -0800 (PST) From: Uri Shkolnik Reply-To: urishk@yahoo.com Subject: [PATCH] Siano 10230 Core coding style fix To: linux-media@vger.kernel.org Cc: Mauro Carvalho MIME-Version: 1.0 Message-ID: <533809.88070.qm@web110809.mail.gq1.yahoo.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1231850270 -7200 # Node ID 9a7e625c254bf24465b2663bdfbfd19bf192e4d8 # Parent 46b5358fa358cf6a0338918a1472728b2fdf2685 SMS Core coding style fix From: Uri Shkolnik Fix coding style issues Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r 46b5358fa358 -r 9a7e625c254b linux/drivers/media/dvb/siano/smscoreapi.c --- a/linux/drivers/media/dvb/siano/smscoreapi.c Tue Jan 13 14:20:32 2009 +0200 +++ b/linux/drivers/media/dvb/siano/smscoreapi.c Tue Jan 13 14:37:50 2009 +0200 @@ -1444,12 +1444,12 @@ int smscore_gpio_configure(struct smscor rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen, &coredev->gpio_configuration_done); - if (rc != 0) + if (rc != 0) { if (rc == -ETIME) sms_err("smscore_gpio_configure timeout"); else sms_err("smscore_gpio_configure error"); - + } kfree(buffer); return rc; @@ -1493,12 +1493,12 @@ int smscore_gpio_set_level(struct smscor rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen, &coredev->gpio_set_level_done); - if (rc != 0) + if (rc != 0) { if (rc == -ETIME) sms_err("smscore_gpio_set_level timeout"); else sms_err("smscore_gpio_set_level error"); - + } kfree(buffer); return rc; @@ -1541,12 +1541,12 @@ int smscore_gpio_get_level(struct smscor rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen, &coredev->gpio_get_level_done); - if (rc != 0) + if (rc != 0) { if (rc == -ETIME) sms_err("smscore_gpio_get_level timeout"); else sms_err("smscore_gpio_get_level error"); - + } kfree(buffer); /* Its a race between other gpio_get_level() and the copy of the single