Re: [PATCH 7/8] staging/fbtft: Initialize fb_op struct as static const

From
Greg KH <hidden>
Date
2023-08-28 14:52:13
Also in
dri-devel, linux-fbdev, linux-hyperv, linux-staging
Reply to
Thomas Zimmermann, 2023-08-28
On Mon, Aug 28, 2023 at 03:14:23PM +0200, Thomas Zimmermann wrote:
Replace dynamic allocation of the fb_ops instance with static
allocation. Initialize the fields at module-load time. The owner
field changes to THIS_MODULE, as in all other fbdev drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/staging/fbtft/fbtft-core.c | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thread (24 messages) 24 messages, 4 authors, last reply 2023-09-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help