From patchwork Fri Oct 5 10:29:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10627865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80998112B for ; Fri, 5 Oct 2018 10:29:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 716BF29084 for ; Fri, 5 Oct 2018 10:29:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 661932908E; Fri, 5 Oct 2018 10:29:44 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 EF6A729084 for ; Fri, 5 Oct 2018 10:29:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727826AbeJER1w (ORCPT ); Fri, 5 Oct 2018 13:27:52 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43962 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727535AbeJER1w (ORCPT ); Fri, 5 Oct 2018 13:27:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Message-Id:Date:Subject:Cc:To: From:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Dlh3smp4rJKzA3USkLUD1ibsG9IAaPsPoiyJuk85ctc=; b=Ibn86ScvDot6eeGcM4cYg4eMvV icFFuAs/XkKxg6a4p6XF+iAcjm+Z3bJXMOK8C0RvUyC71GTpGRhqsUUI7471RjU38c03GuFKktVzB PagqNpv7EnD0+3lQi9CTzy449uFfeFW5DRYyH3j+oMKdEW0vRqM1ezD5bdm86Wz36zGyR7AYJJI5N llOZyOTE+9GQPg4o93da0G+WnZOR/FnAj5xuPriTRccXsdO8rxeUYF5AIqhoM+r1M/VXk56MoiGjz Oe3gQoaqXmrdu/UbopfMLRbpFMjR2p0JIIdan3rI15SXy7FtDnmwsDa+xYpt3bdXZmZexjnJ8jb6n VRydirgQ==; Received: from 177.206.133.246.dynamic.adsl.gvt.net.br ([177.206.133.246] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8NMc-00058Q-A7; Fri, 05 Oct 2018 10:29:42 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.91) (envelope-from ) id 1g8NMZ-0008qd-U2; Fri, 05 Oct 2018 06:29:39 -0400 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab Subject: [PATCH v2 0/3] Coding style cleanups after the fwnode patchset Date: Fri, 5 Oct 2018 06:29:35 -0400 Message-Id: X-Mailer: git-send-email 2.17.1 To: unlisted-recipients:; (no To-header on input) 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 The fwnode patchset added a several new warnings, as identified by checkpatch.pl --strict. Those are at the core stuff, and makes harder to review patches there. In order to fully address checkpatch.pl, we still need to: - Add SPDX headers; - Rename functions. Let's do those on some future change. - v2: - fixed a weird line break at patch 1/3; - kept the order of arguments inside a function at patch 3/3. Mauro Carvalho Chehab (3): media: v4l2-core: cleanup coding style at V4L2 async/fwnode media: v4l2-fwnode: cleanup functions that parse endpoints media: v4l2-fwnode: simplify v4l2_fwnode_reference_parse_int_props() call drivers/media/v4l2-core/v4l2-async.c | 45 +++--- drivers/media/v4l2-core/v4l2-fwnode.c | 188 ++++++++++++++------------ include/media/v4l2-async.h | 12 +- include/media/v4l2-fwnode.h | 45 +++--- include/media/v4l2-mediabus.h | 32 +++-- 5 files changed, 176 insertions(+), 146 deletions(-)