From patchwork Thu Dec 30 11:31:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12701396 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F92EC433F5 for ; Thu, 30 Dec 2021 11:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EjY7bOutn9MvEkjBcTapKdX/9uPjAzgkhBbDpvYNwBc=; b=m1Ww4/5C555e+F z0mEFOcJ3W1jun7xSnKBYId9yh0BVHImwIe8amrFlyp+RHVEf6USLeJl/JnS/yxv3KZgoLrAN/fmv VjWtpVDunpif5EI2a6ECpgHYc3pB3Im1FzGAmRmJbnP7vOagjry5WFA0u+qvBTPfzJYSy9SLWdSWi ciTvePQy/94WN4ZJJB7F1K1QxxooNuRQR7iZsGsRu1Lob+VrM/wkIR662e4ncDXF2FzZohf1yz1pz HulDIY2safFTQ2MbOANsH5Jcg+vUGc8Li2DEm+zHRi/Fte/PyJIH/Ez0CjtCR+V4LNTn1vS79TTZj hSODTR0zdUATwMQgndsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2tfJ-004I1Q-IG; Thu, 30 Dec 2021 11:32:13 +0000 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2tfF-004I0R-Tp; Thu, 30 Dec 2021 11:32:11 +0000 Received: by mail-qk1-x729.google.com with SMTP id m2so20729471qkd.8; Thu, 30 Dec 2021 03:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xz9wQgVFaOyvwZSGL/SXwsOeqxcneFSh8VrphgAkOqA=; b=oLmztMoulnp8cgFl7flECDJjqpl7wy1OssjGEqmxxdhM0dn8QTiy6mBZQxXn5sSgh2 EPxtFZDcDlwyqpsJFeMfdUYSjUKteu0nIa9RrYdTkoLNUR5tg7TA/5mw2wJ80HrJyvYO tcUWlGuuTSWazSSSf+Dr+wpcelJ2tzrzarYv9mS7QJEFrLzoPj8h3CNyrs6ryicbBVkz yZ28lMgpLexnN+aBrWfyaHPBJ6M+LhHq2hedYNpMtCEinIdA8+BN/gbyD91q9rnuNgWt MdNJXl1im7gvMaKXCDnfiOhuDgiwgzGuVglJqt3mU4WUggix4cCN9CN+h2Pq3ulQozXM zCyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xz9wQgVFaOyvwZSGL/SXwsOeqxcneFSh8VrphgAkOqA=; b=7nE84x+fhra9Lz5dnWERHFNwkf+KYyBx56XwXmZWY9YRGUF/Eq1OM8ym499IWMI5cA nS3vMQBH5Gtgw+by6DJqavTwXbdUc+237RWjQA8biFbVg7tMsBOQq/wh7FB4rLFr4Rc4 nmBz4H8QSl1OEpq6ewJBwcKRB5LwBlCCuzWUF8HVM541gMK3tjnYO8pp8/XIcLo+M+UB iTIeEIt6GppfxPrWZfRfY2e9Z1Rfl0w4n9mVrs5as2McEfHAR/PNp5O0jTJDVaZWzk7b R0h8w+gHFfeORp9ywYBUn3bpS0T6veXaTCdnkXPabBDZyKe3Xbc5mh09QaHrqAavHZEB n0bg== X-Gm-Message-State: AOAM531Cfcz80Gko6UxnYUOCkbONChcZuS4czXyzD1Wqt0qdFsxVYMni olEeVWVfq35lYCvmzrFNvfg= X-Google-Smtp-Source: ABdhPJwvSVUosC04j83BLB3MFg/6DOg4p/GiNncYIT7N60+th9yGaj2v6JlgxzJRehd+qfqLM2RtTw== X-Received: by 2002:a05:620a:4305:: with SMTP id u5mr20944784qko.577.1640863928191; Thu, 30 Dec 2021 03:32:08 -0800 (PST) Received: from localhost.localdomain ([181.23.70.139]) by smtp.gmail.com with ESMTPSA id v5sm20348559qkp.126.2021.12.30.03.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Dec 2021 03:32:07 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, juerg.haefliger@canonical.com, rdunlap@infradead.org, dave.stevenson@raspberrypi.com, stefan.wahren@i2se.com, unixbhaskar@gmail.com, mitaliborkar810@gmail.com, phil@raspberrypi.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 0/3] staging: vc04_services: avoid the use of typedef for function pointers Date: Thu, 30 Dec 2021 08:31:23 -0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211230_033209_971836_C61DBD72 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch set removes some typedefs for function pointers in vc04_services. v1 -> v2: - Following Greg suggestion, functions pointers were not renamed making patches 1 and 2 much smaller. - Function pointers in vchiq-mmal were not touched as the result is less readable than the original. - In the description of changes in the TODO file, it was specified that there are no current 'struct typedefs' left inside vc04_servivces. - The name of the particular subsystem of vc04_services was included in the title of each commit. Gaston Gonzalez (3): staging: vc04_services: bcm2835-audio: avoid the use of typedef for function pointers staging: vc04_services: bcm2835-camera: avoid the use of typedef for function pointers staging: vc04_services: update TODO file .../staging/vc04_services/bcm2835-audio/bcm2835.c | 12 +++--------- .../staging/vc04_services/bcm2835-camera/controls.c | 10 ++-------- drivers/staging/vc04_services/interface/TODO | 8 ++------ 3 files changed, 7 insertions(+), 23 deletions(-)