[PATCH 0/4] staging: sm750fb: various code cleanups

From: Ahmet Sezgin Duran

Date: Tue May 12 2026 - 12:58:45 EST


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