Linux Framebuffer Layer development
 help / color / mirror / Atom feed
* [PATCH 0/4] staging: sm750fb: various code cleanups
@ 2026-05-12 16:41 Ahmet Sezgin Duran
  2026-05-12 16:41 ` [PATCH 1/4] staging: sm750fb: remove unused includes Ahmet Sezgin Duran
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmet Sezgin Duran @ 2026-05-12 16:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-fbdev, linux-staging, linux-kernel, Ahmet Sezgin Duran

This series performs several cleanups on the sm750fb staging driver to
improve code readability and remove redundancy.

The changes include:
- Removing unused header includes and blocks.
- Simplifying frequency validation logic using early returns to reduce
  nesting.
- Removing a redundant variable initialization.
- Fixing a minor stylistic issue (double space).

All changes were verified to have no functional impact on the driver.

Ahmet Sezgin Duran (4):
  staging: sm750fb: remove unused includes
  staging: sm750fb: use early returns in frequency checks
  staging: sm750fb: remove unnecessary initialization
  staging: sm750fb: remove double space in assignment

 drivers/staging/sm750fb/ddk750_chip.c  | 153 +++++++++++++------------
 drivers/staging/sm750fb/sm750.c        |  12 --
 drivers/staging/sm750fb/sm750_accel.c  |  16 +--
 drivers/staging/sm750fb/sm750_cursor.c |  15 ---
 drivers/staging/sm750fb/sm750_hw.c     |  17 ---
 5 files changed, 79 insertions(+), 134 deletions(-)

base-commit: 6abf0b2df0b1c2205a4c0591425e6461afa62edb
-- 
2.53.0


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

end of thread, other threads:[~2026-05-12 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 16:41 [PATCH 0/4] staging: sm750fb: various code cleanups Ahmet Sezgin Duran
2026-05-12 16:41 ` [PATCH 1/4] staging: sm750fb: remove unused includes Ahmet Sezgin Duran
2026-05-12 16:41 ` [PATCH 2/4] staging: sm750fb: use early returns in frequency checks Ahmet Sezgin Duran
2026-05-12 16:41 ` [PATCH 3/4] staging: sm750fb: remove unnecessary initialization Ahmet Sezgin Duran
2026-05-12 16:41 ` [PATCH 4/4] staging: sm750fb: remove double space in assignment Ahmet Sezgin Duran

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