Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4031452rwn; Sun, 11 Sep 2022 03:48:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR49EAKBwghhyJYfkNLVuBZuFA92GLwGE25C/dHRg0Mzrb4S2lQ5imBH8reBZNy9742QOCFw X-Received: by 2002:a17:90a:fa8e:b0:200:b4b9:c6f3 with SMTP id cu14-20020a17090afa8e00b00200b4b9c6f3mr18786911pjb.190.1662893324578; Sun, 11 Sep 2022 03:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662893324; cv=none; d=google.com; s=arc-20160816; b=hkWUMki+DbkprlKKKTdl5M3wNZRvXzsEh77csAb/yHqTz1G4cPOxKEasocT379HKLt lyq6eo28JIl7NZ1xD9SRjztCNOD00FBLzVQzfUXSPnym74Jbjf2zkX7mjp+f4Ovd/X4B btqPtyL6cnAuJKjZ4IXYJk1cBdyrcn8/4PFJ2k5/zrw6QC4FwpQePHhToO2HRhCcDggb W5HaaJCaysP+lFe++NVFj5S1/E5N0tvAx8lbfEdEVuEl7BnkATUnkqMBou/FUTLbUy65 sCeBoud4HXjotbG6vC3VEahezdVfOZfhnC5HBfXIBKK83ZSxRDPBmWh1oXIYff28L1SG nsew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=qDSVYJsZG02wo93ZACs1cSD7fLGxiL+UEFdO8CcreSI=; b=AMjqsx9YMU40d563pltS7bgMHZQ5hINvbMZZ5ce5YWU3RNu+pW8ZXVx1zTJFR+RR5U tyv6l2rFGBIC76xAg/FCAnm3on91PzqMzDCU4UEtvAXR6fNnQUyBz3qre53ueeMsT0ew k/bS7mqKmDXGHW3YAcMB4UG1DaqAcHQvTyKOlmPGTdW9NfLsx2EDWkX8Mr8eFzbaJg2x XYdUdLNWOrpVbv3DMRBFzhRHICv9zo8+ilByPSkSIvEE1kbcQd3rAZs8ehoUNEiRvLEy qfDx5cy+iYvAodtoiVNBl51OKCUJc1zjAd97gJtt/85PeiPIcClX3g0Ykiq92dok9pM/ xkcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J0fd87jS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020a63d417000000b0042bc2bd5797si6335459pgh.278.2022.09.11.03.48.33; Sun, 11 Sep 2022 03:48:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J0fd87jS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbiIKKpP (ORCPT + 99 others); Sun, 11 Sep 2022 06:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiIKKpL (ORCPT ); Sun, 11 Sep 2022 06:45:11 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 890FD14D0D for ; Sun, 11 Sep 2022 03:45:10 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id u9so14020409ejy.5 for ; Sun, 11 Sep 2022 03:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date; bh=qDSVYJsZG02wo93ZACs1cSD7fLGxiL+UEFdO8CcreSI=; b=J0fd87jSFhFXz2CvTX2ql6Be9cJyI8s3pAutOye85G/Sp2nJBJDwR//84RNmNnGLFg HWcrU4lU42Q/Lwn8kGIpkWuNm6U1n/2URlXe2lLF15QiVpwH6s1TplnO2ea0gqabgn4e anfqL0DxoyQGh57Fx39oonulpsS+O5lK8rXa9jJuGaG+FUEyVFGis3XaQn5S09TfxCKH b4mUtN00wHJgbq6Lo0Agjne2yzwIqbcp8OGOXVefzPvccoCT8sxQpcth+yAc71jupTD2 s3VkVce8Ey4m0c8FvopLtrs4bX2C+QOo1lzevQx9WsQjHeFUxWJqcsMjS2uLl3Me9NxM ez5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=qDSVYJsZG02wo93ZACs1cSD7fLGxiL+UEFdO8CcreSI=; b=UjEzIctjZWPF6lOeXaRtJe59NsCI108uzJ0dcOz09QTg4JsYf4eSQPl0hu/cV6NvHf s4tgfgFAjpUA8ZTpPgb7utETB3veMx1be0Wl+5ViDvm6A0i0ARmpU8Vo1DNiIS8XaeYM bKlV/FuxvR1YwHiCeDykM93RMKRIwkr/N2FK1YiX3cvpfBhMtp8Pusk3nOC5/c72DX/z qMNG9NZVFWSKHavDF2JoK0lxnQW9t/wtuLsFPkVkvQS+FBtQotwLsXCmmvCw0gOsgBhw tGpPYa9bqWFSOkt0K3Bc7TiwIzCt48vXmUEP3/c9PIWvdrwlMxFttXaUYxdo2I+EpED5 3pZQ== X-Gm-Message-State: ACgBeo2bsexabl3ZxYZ7/e8IK5OGarFb2awdDGKrbBuZxb5/U1ZzHHwo jfAgcfpkW+GtfmZzJ4eQyb4= X-Received: by 2002:a17:907:96a2:b0:776:15f3:1ffe with SMTP id hd34-20020a17090796a200b0077615f31ffemr11190945ejc.406.1662893108999; Sun, 11 Sep 2022 03:45:08 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p57ba2cf5.dip0.t-ipconnect.de. [87.186.44.245]) by smtp.gmail.com with ESMTPSA id i10-20020a17090671ca00b0074150f51d86sm2817124ejk.162.2022.09.11.03.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 03:45:08 -0700 (PDT) Date: Sun, 11 Sep 2022 12:45:06 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 00/12] staging: vt6655: Cleanup and rename functions of mac.h Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename functions and local variables to avoid CamelCase which is not accepted by checkpatch.pl. Remove unnecessary declaration of functions and make functions static when possible. Change declaration of local variables to shorten code and remove unnecessary line breaks. Tested with vt6655 on mini PCI Module Transferred this patch over wlan connection of vt6655 Philipp Hortmann (12): staging: vt6655: Cleanup and rename function MACvSetLoopbackMode staging: vt6655: Cleanup and rename function MACvSaveContext staging: vt6655: Cleanup and rename function MACvRestoreContext staging: vt6655: Cleanup and rename function MACbSafeSoftwareReset staging: vt6655: Rename function MACbSafeRxOff staging: vt6655: Rename function MACbSafeTxOff staging: vt6655: Rename function MACbSafeStop staging: vt6655: Rename function MACvSetCurrRx0DescAddr staging: vt6655: Rename function MACvSetCurrRx1DescAddr staging: vt6655: Cleanup and rename function MACvSetCurrTXDescAddr staging: vt6655: Rename function MACvSetCurrTx0DescAddrEx staging: vt6655: Rename function MACvSetCurrAC0DescAddrEx drivers/staging/vt6655/card.c | 8 ++-- drivers/staging/vt6655/mac.c | 85 ++++++++++++++++------------------- drivers/staging/vt6655/mac.h | 22 ++------- 3 files changed, 46 insertions(+), 69 deletions(-) -- 2.37.3