linux/drivers/gpu/drm/solomon
Liao Yuanhong a69997be44
drm/ssd130x: Remove the use of dev_err_probe()
Logging messages that show some type of "out of memory" error are generally
unnecessary as there is a generic message and a stack dump done by the
memory subsystem. These messages generally increase kernel size without
much added value[1].

The dev_err_probe() doesn't do anything when error is '-ENOMEM'. Therefore,
remove the useless call to dev_err_probe(), and just return the value
instead.

[1]: https://lore.kernel.org/lkml/1402419340.30479.18.camel@joe-AO725/

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250820131416.500048-1-liaoyuanhong@vivo.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2025-09-01 16:09:19 +02:00
..
Kconfig drm/solomon: Run DRM default client setup 2024-09-26 09:31:28 +02:00
Makefile
ssd130x-i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
ssd130x-spi.c drm/ssd130x: Remove the use of dev_err_probe() 2025-09-01 16:09:19 +02:00
ssd130x.c drm/ssd130x: fix ssd132x_clear_screen() columns 2025-06-12 14:04:56 +02:00
ssd130x.h drm/ssd130x: Add support for the SSD133x OLED controller family 2024-01-01 13:03:05 +01:00