From patchwork Mon Dec 20 21:29:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12696900 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 B8E2DC433F5 for ; Mon, 20 Dec 2021 21:32:01 +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=zqieUFS+8nG4eS9B81spwmkskvPcYZMBWbpoi7xhXNI=; b=B1dHtFeURkwpUF VXHmAX+p9fR00liK/rANVRG5tA8wyw4IJ3kQKHCn51doCNTNwQcwbNNctS/DoDeH6/IgTHa8fp6rA UlK1WjoETtxyC69dgoJ+Za4H6TAskTlDppJfj86AfwYRBvT2ONCDkOKvrDKnrbQ1/Zc6xVcvadOkF 4Pva40QM6SzOZLtyMa7Z3jCGH2uKalWF0OXOkkj1meVOYDigR1AvVy7Kq1G97spJ02PE5+bLUnMIF 403EtL1XdE0P900ttc+Lj2m9RhPPTgpdw48tEtfmkri8DivHJh6tAH5WxooKyjgSFlfty5j9MirfQ 12OtT+OaPjIlOYq1ow9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzQEt-004UOj-E0; Mon, 20 Dec 2021 21:30:35 +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 1mzQEp-004UMP-Bk; Mon, 20 Dec 2021 21:30:32 +0000 Received: by mail-qk1-x729.google.com with SMTP id de30so10755723qkb.0; Mon, 20 Dec 2021 13:30:30 -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=CjOpGoTB+RgFzED/Z5AJZmeEWUvnehVde5GsP9KVlrg=; b=iPwn9myv9DhSISQF4gJy7e3ExgU3CZV85sDsiLBSKar85A7qLsigdOqYYxRYht2dzG K0pxeA4bfxppWl1XmCx4YwCS+CEFByUmFJ1IviO9vNfG2mlLMaXFRMsahgdiha4rudKu 6VwLnLMWggIpnv7UXmFvmnrhEBqDeiIz3Iiutd7CyzGN1bEe4NYeDXyznYYDwKv+G23L pvg4vyr9qf6RAaas6Ggdp+qjupqXTDGTOnATs7ccwnLGomdAXynhTxDplLl6cH0hiYAv rKsO0Kjam7ytgrOFMBhoeG6YiuCqsSDkUQ3ydkvecc+klDoUiDuL+iLm1PvEq+KJRTot bk3w== 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=CjOpGoTB+RgFzED/Z5AJZmeEWUvnehVde5GsP9KVlrg=; b=lJcQBAuKkT0+nbik7/i4AlqyOvouYl7y1DHcr8QBNdcmPNPSRZQsgM5RNplBDyyAhV jTSo0bZ8dA+ROxLxiaEctPb+fCf8bYpQ9GYArASgErxbd+R0PToyHIhPKl5QbJSbNWct nZrf2k4tsmN7n7Q8WOK2XkjbMfXiUHz8+NlHhzN4I/RTHWbJL66RO1vS8nC/REuL8YRO bMwxy1IGSNDCCp+jmbRASpv9F3vobNq2Ncz6yUfUfRGD0nD9gth6mFDdV4iDzRjZAI+a 6eDmJcecbjgl8ZmFMX3KE45dVqthlNuFNQkpgMSqDLRjj13uuPAK+7FpFJgSr4nYvVFU UM+Q== X-Gm-Message-State: AOAM532r0Wl/6Vnd3szQNtvAofRsZUfv7gYKAtc/fOdtWrtojymcQirp rN6Ykr7mJPYJDbl5xyhGjGY= X-Google-Smtp-Source: ABdhPJwsW3YzqTrxOFRap0vjfSnMSaYXOxThDtZXdIBLAgmpQiM0u9ULfOv8wwdtazDAaYNCF/qYwA== X-Received: by 2002:a05:620a:bc7:: with SMTP id s7mr101221qki.20.1640035829392; Mon, 20 Dec 2021 13:30:29 -0800 (PST) Received: from localhost.localdomain ([181.23.83.92]) by smtp.gmail.com with ESMTPSA id s20sm16132210qtc.75.2021.12.20.13.30.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 13:30:28 -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 0/4] staging: vc04_services: avoid the use of typedef for function pointers Date: Mon, 20 Dec 2021 18:29:10 -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-20211220_133031_433003_4A4E211A X-CRM114-Status: UNSURE ( 7.67 ) 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. After patches 01 to 03, there are no remaining typedef under vc04_services. Hence, the patch 04/04 updates the TODO file removing the 'remove typedefs' task. Gaston Gonzalez (4): staging: bcm2835-audio: replace function typedefs with equivalent declaration staging: vc04_services: replace function typedef with equivalent declaration staging: vc04_services: avoid the use of typedef for function pointers staging: vc04_services: update TODO file .../vc04_services/bcm2835-audio/bcm2835.c | 28 +++---- .../vc04_services/bcm2835-camera/controls.c | 76 +++++++++---------- drivers/staging/vc04_services/interface/TODO | 8 +- .../vc04_services/vchiq-mmal/mmal-vchiq.c | 24 +++--- .../vc04_services/vchiq-mmal/mmal-vchiq.h | 13 ++-- 5 files changed, 66 insertions(+), 83 deletions(-)