Skip to contentSkip to conversation

drm: bridge: icn6211: Mark module exit callback with __exit

PATCH Applied Marek Vasut 2 participants 3 messages Apr 6, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
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]

---
 drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/chipone-icn6211.c +1 -1
index c4d2f6d811bf1..b9cc0fac26686 100644
@@ -787,7 +787,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);
 
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 32 lines · Marek Vasut

Fix copy-paste error, module exit function should be marked with __exit instead of __init.

Fixes 8dde6f7452a1 ("drm: bridge: icn6211: Add I2C configuration support")
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]

---
 drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/chipone-icn6211.c +1 -2
index c4d2f6d811bf1..b9cc0fac26686 100644
@@ -787,7 +787,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);
 
--
Quoted 2 lines

2.35.1