aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2022-04-06 03:42:50 +0200
committerRobert Foss <[email protected]>2022-04-06 09:34:58 +0200
commit7a828f1f1fe30024cd153452b808a07ddf07c153 (patch)
tree4335b2e2f06cd21ca663e5c8614f04a2c7114785
parent21d139a95682c6ade89a2151e44012c9797c0309 (diff)
drm: bridge: icn6211: Mark module exit callback with __exit
Fix copy-paste error, module exit function should be marked with __exit instead of __init. Fixes: 8dde6f7452a1 ("drm: bridge: icn6211: Add I2C configuration support") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Cc: Jagan Teki <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Robert Foss <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Thomas Zimmermann <[email protected]> To: [email protected] Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Robert Foss <[email protected]>
-rw-r--r--drivers/gpu/drm/bridge/chipone-icn6211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c
index 9629b87867df..4608a7c19337 100644
--- a/drivers/gpu/drm/bridge/chipone-icn6211.c
+++ b/drivers/gpu/drm/bridge/chipone-icn6211.c
@@ -677,7 +677,7 @@ static int __init chipone_init(void)
}
module_init(chipone_init);
-static void __init chipone_exit(void)
+static void __exit chipone_exit(void)
{
i2c_del_driver(&chipone_i2c_driver);