Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp34557pxb; Mon, 11 Apr 2022 18:03:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFYoXLFTk2zjoUVH/fNd1oy1QaGQxG6S4DuJl9cW4JygMkqUm/4z6SfMOZbsjqcVQg0g0F X-Received: by 2002:aa7:ce16:0:b0:41d:8e19:6dfb with SMTP id d22-20020aa7ce16000000b0041d8e196dfbmr1752392edv.12.1649725414754; Mon, 11 Apr 2022 18:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649725414; cv=none; d=google.com; s=arc-20160816; b=0PZbStW9fcKqmxG9QYVCO78oNEaMNvMNRqFJTGyKcf1UnVp3MISm0pA5VXPjObjz62 jB7DeBjV10kRl9FhmqMLS8yRY5T0LYHbX9Ieof9NZZBF5WebiBbbq6/5Q+Ct4ALGRK3v Car5UYi4js+VGQcuXqNYPNY3XW3fATiOg4EqfvOe9wOJspxN1Zqj0YRr4yejZsHKmHty IurAeAb0i0jN/ubkCbY8AmCzMOqaIjLEiWQsqg0bdgv8TXu+suQaTExzTko/Qb62f1RR V0soloMn+GOwn1gW1OOPZOsYdFbvfLhXiHttrNb+hECYN4FckFRyVtmNtzVXUboszg5s cX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=A5PJEamvB/Q6ZdrsbhzIrxfL3V+SEu121g25tOfMR6k=; b=KhWHT80xmZgoQW74R8T5LgOW/YMpuFJcX0LBzC19Do8qC+ykwbtol//MjZ7qt1yYBp 92HNCihVCXGaT2Gb9dAtNIAWkEbK0UCRTOds1s7ceQ1ZsLAo2zwuMBrc9IVdKzclZfBZ scKONhlzvTfGLiOmRQ7vz2CEI/B86y+dKDurmTEsSS1Ru0QqO+5J/WI6xbwglIf9QFx9 o1O7zW8fjl87uXT8vGKjzzGN5JXVTqJ9SRmcfa350ewhht4KopZMqFjXrrepHzctkC5Q b7QEcFJ7wuKAHrud3pbv2Jzo03J1TIap4QFRtkq6r0WqFbPpxdbvvyO6AGci/oekx7dI 1Dww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=K0HGJxv3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hh10-20020a170906a94a00b006e88cb94b9bsi3738293ejb.360.2022.04.11.18.03.09; Mon, 11 Apr 2022 18:03:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=K0HGJxv3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241409AbiDIKCe (ORCPT + 99 others); Sat, 9 Apr 2022 06:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241128AbiDIKCd (ORCPT ); Sat, 9 Apr 2022 06:02:33 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C0415FC0 for ; Sat, 9 Apr 2022 03:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1649498423; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=A5PJEamvB/Q6ZdrsbhzIrxfL3V+SEu121g25tOfMR6k=; b=K0HGJxv37mBu5ndPyGax7E9gMrLHTdObUC76F2MRpH4+rdMGmFgkxSyrXr9KyoF2jV7e5X hzbkrhMbeW6m5Or/XLj/z0SmJbXHItUt+0fLyRC1SnfLMtV5F30+OH9KUcLhfv5WJJPbDw Pv9nsv+bcslHCLeYaR5Qm39g52ZuVI4= From: Paul Cercueil To: Thierry Reding , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Paul Cercueil , Christophe Branchereau , kbuild-all , Stephen Rothwell , kernel test robot Subject: [PATCH] drm/panel: newvision-nv3052c: Fix build Date: Sat, 9 Apr 2022 11:00:16 +0100 Message-Id: <20220409100016.9337-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver was compile-tested then rebased on drm-misc-next, and not compile-tested after the rebase; unfortunately the driver didn't compile anymore when it hit drm-misc-next. Fixes: 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based LCDs") Cc: Christophe Branchereau Cc: kbuild-all Cc: Stephen Rothwell Reported-by: kernel test robot Signed-off-by: Paul Cercueil --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c index 127bcfdb59df..cf078f0d3cd3 100644 --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c @@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi) return 0; } -static int nv3052c_remove(struct spi_device *spi) +static void nv3052c_remove(struct spi_device *spi) { struct nv3052c *priv = spi_get_drvdata(spi); drm_panel_remove(&priv->panel); drm_panel_disable(&priv->panel); drm_panel_unprepare(&priv->panel); - - return 0; } static const struct drm_display_mode ltk035c5444t_modes[] = { -- 2.35.1