From patchwork Sun Dec 25 18:54:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9488339 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 362EA601D7 for ; Sun, 25 Dec 2016 18:54:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30C0222A63 for ; Sun, 25 Dec 2016 18:54:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23863205AD; Sun, 25 Dec 2016 18:54:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9761205AD for ; Sun, 25 Dec 2016 18:54:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932349AbcLYSyR (ORCPT ); Sun, 25 Dec 2016 13:54:17 -0500 Received: from mout.web.de ([217.72.192.78]:62951 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180AbcLYSyQ (ORCPT ); Sun, 25 Dec 2016 13:54:16 -0500 Received: from [192.168.1.2] ([77.182.80.223]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LwHkw-1ccVAs3KJi-01854F; Sun, 25 Dec 2016 19:54:08 +0100 Subject: [PATCH 19/19] [media] uvc_video: Add some spaces for better code readability To: linux-media@vger.kernel.org, Laurent Pinchart , Mauro Carvalho Chehab References: <47aa4314-74ec-b2bf-ee3b-aad4d6e9f0a2@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, trivial@kernel.org From: SF Markus Elfring Message-ID: Date: Sun, 25 Dec 2016 19:54:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <47aa4314-74ec-b2bf-ee3b-aad4d6e9f0a2@users.sourceforge.net> X-Provags-ID: V03:K0:EF+CYtTVgLQZcDNwQ/3o8lCtB87dVOevoa+1esVMlnnWnks1Kwx qNtGd1F0U80SdL8r4/OIlqRGSFLrkM/p1twa/IzKepGGlIBc/WYwFUTputSDIAzM0gFAcHt IaOSpxqQ7zeUSESU5kPXFk5T+ipx2U9UUTcTNmw37FELlczf+mlAQhmGPgyOB7+Rj9gI4Io qXSfcjtI8AV8O+W90sjhg== X-UI-Out-Filterresults: notjunk:1; V01:K0:DSQVzvokNUA=:vf++NGduacOmdITfwKdQWV RulaU7dNxNeEremBgjXbWkDfoEOgPx30LmqzUy1wL2xkze4psVgd/oMXfTkTp2upLq/6YdY/e S4bWdOcOIrHmb8ckDB00wizTMNmlHRE2KokwasuzebQJvXyZ/lPrlxoZzCd5HeXWP+oI1k1Ep tcG5XpoNedTQevgxxHNK2OGVdex3yVRTVgFYHHhmi/Ala3nNsVggB+vhx6i5TVxDIcSnaoqks OnvXjGwY/ugjw2O9pxVq5kU0eYa4QpIpL/6dfxDDI8qu5iM6zG134+WLMbD4xGpKg6L6AYoBp RUrGzSuQFzyB0MUKGZVDv45eQFzjlHnhQHbWnlGV5BE64lCWF9QeiWIf/98/6t7QyS5WmG0UF zDWlQmqy8az8bcyM7xOnWdKwJff3rKFgEOgKROFqg+OU5LY9NqZI1KB/AcYSEFkKPTWCnmwCF aZ4qpp68coHxpynhR6Ga96YEKW0yAr8iGdfJ+msAtdeBS3aeatacU0rhKeh+X4tJaR1BAJbzT 2YzcykdA6eWfHGt87WeewuLI74Zj+vfGN3LLGDDgHVH9Xhv2uxa7Ite2IkPTR/4Dv7fAGlQ+A ayuYBJajXkoWM/P2Usb9LRgA/RPexUCqFN0NZc7PiRW45m5kadczWZ5GidpQlcI6sgw0suMRM S6vCopJVyQ1Qg4tPT+xFI7Ov/WKi3bDSUr27WqvCVg+sNYocdZjJVhlIqaDfBjso9zBW6ER1u H4xQFiqTP9B6iZOlcYCjLpaEtX02XbDXFtZfSrloZzMz9B/xVdNNqnbmfcUzQ5VKIacwJGZ70 F1uBTlj Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 25 Dec 2016 19:00:29 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index aba21e0abf02..9c0b8b325157 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -1814,7 +1814,7 @@ int uvc_video_init(struct uvc_streaming *stream) * available format otherwise. */ for (i = stream->nformats; i > 0; --i) { - format = &stream->format[i-1]; + format = &stream->format[i - 1]; if (format->index == probe->bFormatIndex) break; } @@ -1831,7 +1831,7 @@ int uvc_video_init(struct uvc_streaming *stream) * descriptor is not found, use the first available frame. */ for (i = format->nframes; i > 0; --i) { - frame = &format->frame[i-1]; + frame = &format->frame[i - 1]; if (frame->bFrameIndex == probe->bFrameIndex) break; }