Skip to content

Commit 6268b28

Browse files
diandersrobertfoss
authored andcommitted
drm/bridge: ti-sn65dsi86: Remove __exit from GPIO sub-driver remove helper
The ti_sn_gpio_unregister() is not just called from the remove path but also from the error handling of the init path. That means it can't have the __exit annotation. Fixes: bf73537 ("drm/bridge: ti-sn65dsi86: Break GPIO and MIPI-to-eDP bridge into sub-drivers") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Robert Foss <robert.foss@linaro.org> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210504073845.1.Ibf4194f4252846edaa0c6a6c7b86588f75ad5529@changeid
1 parent f7dbd86 commit 6268b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/bridge/ti-sn65dsi86.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ static int __init ti_sn_gpio_register(void)
12511251
return auxiliary_driver_register(&ti_sn_gpio_driver);
12521252
}
12531253

1254-
static void __exit ti_sn_gpio_unregister(void)
1254+
static void ti_sn_gpio_unregister(void)
12551255
{
12561256
auxiliary_driver_unregister(&ti_sn_gpio_driver);
12571257
}

0 commit comments

Comments
 (0)