Re: [PATCH v3 4/4] staging: sm750fb: deduplicate fbinfo loop in suspend/resume
From: Greg KH
Date: Tue Jul 07 2026 - 05:12:32 EST
On Mon, May 25, 2026 at 08:58:08AM +0000, Ahmet Sezgin Duran wrote:
> lynxfb_suspend() and lynxfb_resume() both walk sm750_dev->fbinfo[]
> via duplicated per-index blocks for fbinfo[0] and fbinfo[1].
>
> Replace each pair of blocks with a for-loop bounded by
> sm750_dev->fb_count, the number of successfully registered
> framebuffers.
>
> No functional changes intended.
Do you have the hardware to test changes like this?
thanks,
greg k-h