public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Forest Bond <forest@alittletooquiet.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH 00/12] staging: vt6655: Cleanup and rename functions of mac.h
Date: Sun, 11 Sep 2022 12:45:06 +0200	[thread overview]
Message-ID: <cover.1662890990.git.philipp.g.hortmann@gmail.com> (raw)

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


             reply	other threads:[~2022-09-11 10:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 10:45 Philipp Hortmann [this message]
2022-09-11 10:45 ` [PATCH 01/12] staging: vt6655: Cleanup and rename function MACvSetLoopbackMode Philipp Hortmann
2022-09-11 10:45 ` [PATCH 02/12] staging: vt6655: Cleanup and rename function MACvSaveContext Philipp Hortmann
2022-09-11 10:45 ` [PATCH 03/12] staging: vt6655: Cleanup and rename function MACvRestoreContext Philipp Hortmann
2022-09-11 10:46 ` [PATCH 04/12] staging: vt6655: Cleanup and rename function MACbSafeSoftwareReset Philipp Hortmann
2022-09-13 10:12   ` Dan Carpenter
2022-09-13 18:26     ` Philipp Hortmann
2022-09-14 14:47       ` Dan Carpenter
2022-09-11 10:46 ` [PATCH 05/12] staging: vt6655: Rename function MACbSafeRxOff Philipp Hortmann
2022-09-11 10:46 ` [PATCH 06/12] staging: vt6655: Rename function MACbSafeTxOff Philipp Hortmann
2022-09-11 10:46 ` [PATCH 07/12] staging: vt6655: Rename function MACbSafeStop Philipp Hortmann
2022-09-11 10:46 ` [PATCH 08/12] staging: vt6655: Rename function MACvSetCurrRx0DescAddr Philipp Hortmann
2022-09-11 10:47 ` [PATCH 09/12] staging: vt6655: Rename function MACvSetCurrRx1DescAddr Philipp Hortmann
2022-09-11 10:47 ` [PATCH 10/12] staging: vt6655: Cleanup and rename function MACvSetCurrTXDescAddr Philipp Hortmann
2022-09-11 10:47 ` [PATCH 11/12] staging: vt6655: Rename function MACvSetCurrTx0DescAddrEx Philipp Hortmann
2022-09-11 10:47 ` [PATCH 12/12] staging: vt6655: Rename function MACvSetCurrAC0DescAddrEx Philipp Hortmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1662890990.git.philipp.g.hortmann@gmail.com \
    --to=philipp.g.hortmann@gmail.com \
    --cc=forest@alittletooquiet.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox