public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] staging: vt6655: Convert multiline macro to static function
@ 2022-07-28  5:59 Philipp Hortmann
  2022-07-28  5:59 ` [PATCH v2 1/2] staging: vt6655: Rename MACvClearStckDS Philipp Hortmann
  2022-07-28  5:59 ` [PATCH v2 2/2] staging: vt6655: Convert macro vt6655_mac_clear_stck_ds to function Philipp Hortmann
  0 siblings, 2 replies; 3+ messages in thread
From: Philipp Hortmann @ 2022-07-28  5:59 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Convert multiline macro to static function.
Multiline macros are not liked by kernel community.

Tested with vt6655 on mini PCI Module
Transferred this patch over wlan connection of vt6655

V1 -> V2: Combined patch "Rename byOrgValue to reg_value in a macro" with
          patch "Convert macro vt6655_mac_clear_stck_ds to function"
          Improved to early line breaks in patch descriptions
          Removed function declaration of vt6655_mac_clear_stck_ds
          Changed variable declaration in vt6655_mac_clear_stck_ds

Philipp Hortmann (2):
  staging: vt6655: Rename MACvClearStckDS
  staging: vt6655: Convert macro vt6655_mac_clear_stck_ds to function

 drivers/staging/vt6655/mac.c | 11 ++++++++++-
 drivers/staging/vt6655/mac.h |  8 --------
 2 files changed, 10 insertions(+), 9 deletions(-)

-- 
2.37.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-28  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28  5:59 [PATCH v2 0/2] staging: vt6655: Convert multiline macro to static function Philipp Hortmann
2022-07-28  5:59 ` [PATCH v2 1/2] staging: vt6655: Rename MACvClearStckDS Philipp Hortmann
2022-07-28  5:59 ` [PATCH v2 2/2] staging: vt6655: Convert macro vt6655_mac_clear_stck_ds to function Philipp Hortmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox