From patchwork Wed Apr 6 01:42:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12802260 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34C5DC433F5 for ; Wed, 6 Apr 2022 01:43:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 78A0610E0F7; Wed, 6 Apr 2022 01:43:21 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DF5C10E0F7 for ; Wed, 6 Apr 2022 01:43:20 +0000 (UTC) Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 07D1783608; Wed, 6 Apr 2022 03:43:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649209398; bh=TLmnBzjX2gXdl2W7zyE1J/LlowQLvpYiOzm48fDtAs0=; h=From:To:Cc:Subject:Date:From; b=gnRqxb445Qk4kHp+n10DdPBCZAT89SqZPV77yunkkfeQ+039D5vXCwU9ZlxXsrpbC yflZUV4E2MhOZTmjBqqJAOg5wTP3JPJz5LQiGJ9y2wWyS1w/eX/poXXB6n8zQReqar WCHTuR4FYEKJW1Po9y1T4e0B0QmnNHwPY3TLFVWKef3Gm5YxnIaszl0qpTh73WskaK atU0zfvvZvI6dXD5K2nuuBVFb79Cp9R1aM4Q2FU9wvMoEAFdUX3RlEjzOm7XuEYWub 599HdftDk3sJBTCI0KjjG+TSzrMWSihclhpTC0fKWnYgunNtU5/i2hbwCOS1fTt311 A3AtOZZR1nBuQ== From: Marek Vasut To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: bridge: icn6211: Mark module exit callback with __exit Date: Wed, 6 Apr 2022 03:42:50 +0200 Message-Id: <20220406014250.902187-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Stephen Rothwell , robert.foss@linaro.org, Jagan Teki , Thomas Zimmermann , Sam Ravnborg , Maxime Ripard Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Maxime Ripard Cc: Robert Foss Cc: Sam Ravnborg Cc: Stephen Rothwell Cc: Thomas Zimmermann To: dri-devel@lists.freedesktop.org Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c index c4d2f6d811bf1..b9cc0fac26686 100644 --- a/drivers/gpu/drm/bridge/chipone-icn6211.c +++ b/drivers/gpu/drm/bridge/chipone-icn6211.c @@ -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);