drm/ssd130x: Inline the ssd130x_buf_{alloc, free}() function helpers
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 26 Jul 2023 10:54:27 +0000 (12:54 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 26 Jul 2023 14:33:18 +0000 (16:33 +0200)
commit4cd179a312c60587ab15792f04febae3bed5459b
tree06886d36921370010e700be86448f2225e76b4df
parent9af8cd1a1c046ec09cc7118ee5a3bfc6e74d99de
drm/ssd130x: Inline the ssd130x_buf_{alloc, free}() function helpers

There is only a single caller for both helper functions and these don't do
much other than allocate and free two buffers, so let's just inline them.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230726105433.389740-1-javierm@redhat.com
drivers/gpu/drm/solomon/ssd130x.c