diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-12-15 12:46:09 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 16:08:25 +0200 |
commit | 1ecf643f63760d783cb2540815dfc212bee8b142 (patch) | |
tree | 5437df03cdfae2ea5a0ceda3f67a19946b527936 /drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | |
parent | 1f4e8716876e3721ffeba1ac0a0f71428256601f (diff) | |
download | linux-1ecf643f63760d783cb2540815dfc212bee8b142.tar.gz linux-1ecf643f63760d783cb2540815dfc212bee8b142.tar.bz2 linux-1ecf643f63760d783cb2540815dfc212bee8b142.zip |
drm/omap: panel-dsi-cm: support unbinding
Now, that the driver implements the common DRM panel API
the unbind no longer needs to be suppressed.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-37-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index 95b0696436b0..3e46aa6d5ead 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -597,7 +597,7 @@ err_bl: return r; } -static int __exit dsicm_remove(struct mipi_dsi_device *dsi) +static int dsicm_remove(struct mipi_dsi_device *dsi) { struct panel_drv_data *ddata = mipi_dsi_get_drvdata(dsi); @@ -627,11 +627,10 @@ MODULE_DEVICE_TABLE(of, dsicm_of_match); static struct mipi_dsi_driver dsicm_driver = { .probe = dsicm_probe, - .remove = __exit_p(dsicm_remove), + .remove = dsicm_remove, .driver = { .name = "panel-dsi-cm", .of_match_table = dsicm_of_match, - .suppress_bind_attrs = true, }, }; module_mipi_dsi_driver(dsicm_driver); |