diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-08 12:49:21 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2022-07-09 11:46:01 +0300 |
commit | 1fd452c403ca2cd9dcbd8465f9f72be52e15ac1a (patch) | |
tree | 55f8a75ca0a92c215254cfb84c7a959200046262 /drivers/gpu/drm/drm_mipi_dsi.c | |
parent | d72ac4bbf4cc8f6b50526ce400861f176659884f (diff) | |
download | linux-1fd452c403ca2cd9dcbd8465f9f72be52e15ac1a.tar.xz |
drm/panel-novatek-nt35510: Emit an error message if power off fails
Returning an error code from a mipi_dsi remove callback fails, this is
silently ignored. (mipi_dsi_drv_remove() propagates the return value to
device_remove() which ignores it.) So emit an error code in the driver
remove function and return 0.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220708094922.1408248-3-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'drivers/gpu/drm/drm_mipi_dsi.c')
0 files changed, 0 insertions, 0 deletions