Skip to content

staging: sm750fb: remove Hungarian notation and fix CamelCase

Jad Keskes linux-staging 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Replaced 'pvReg' with 'mmio' instead of 'pv_reg'.
- Replaced 'pvMem' with 'vram' instead of 'pv_mem'.
- Split naming changes into separate logical commits.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: sm750fb: rename pvReg to mmiodrivers/staging/sm750fb/sm750.c drivers/staging/sm750fb/sm750.h drivers/staging/sm750fb/sm750_hw.c+10 -100 replies
2/2staging: sm750fb: rename pvMem to vram and fix CamelCasedrivers/staging/sm750fb/sm750.c drivers/staging/sm750fb/sm750.h drivers/staging/sm750fb/sm750_hw.c+25 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] staging: sm750fb: remove Hungarian notation and fix CamelCase

This patch series refactors variable names in the sm750fb staging driver to align with the Linux kernel coding style and remove Hungarian notation.

The changes are split into two patches:
1. Rename 'pvReg' to 'mmio' to reflect its purpose as a memory-mapped I/O pointer.
2. Rename 'pvMem' to 'vram' to better describe the video RAM, and convert remaining CamelCase members in 'struct init_status' to snake_case.

Changes in v2:
- Replaced 'pvReg' with 'mmio' instead of 'pv_reg'.
- Replaced 'pvMem' with 'vram' instead of 'pv_mem'.
- Split naming changes into separate logical commits.

Jad Keskes (2):
staging: sm750fb: rename pvReg to mmio
staging: sm750fb: rename pvMem to vram and fix CamelCase

 drivers/staging/sm750fb/sm750.c    | 34 +++++++++++++++---------------
 drivers/staging/sm750fb/sm750.h    | 12 +++++------
 drivers/staging/sm750fb/sm750_hw.c | 24 ++++++++++-----------
 3 files changed, 35 insertions(+), 35 deletions(-)
Signature · 1 line
2.53.0