drm: bridge: icn6211: Mark module exit callback with __exit
authorMarek Vasut <marex@denx.de>
Wed, 6 Apr 2022 01:42:50 +0000 (03:42 +0200)
committerRobert Foss <robert.foss@linaro.org>
Wed, 6 Apr 2022 07:34:58 +0000 (09:34 +0200)
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 <sfr@canb.auug.org.au>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220406014250.902187-1-marex@denx.de
Reviewed-by: Robert Foss <robert.foss@linaro.org>
drivers/gpu/drm/bridge/chipone-icn6211.c

index 9629b87867df41a4a5b4d32f7f0f0cf66e1d379d..4608a7c19337be1392ff90805d3ccda7d355d85f 100644 (file)
@@ -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);