Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3862522rwr; Sat, 22 Apr 2023 13:51:09 -0700 (PDT) X-Google-Smtp-Source: AKy350aOl1cxLOS6W64+VCBazuQ4KnlcH7upFgLWv6BacDxXD0fGnjgkTA4PkN6tEM0wKqqFR5IH X-Received: by 2002:a05:6a00:1d8f:b0:63b:4978:a50a with SMTP id z15-20020a056a001d8f00b0063b4978a50amr10459301pfw.1.1682196669120; Sat, 22 Apr 2023 13:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682196669; cv=none; d=google.com; s=arc-20160816; b=PjeKr5Y2KlZp3ycbvXZ7xf0UK1Dm3OoIsA4XLKD6U0Tc5Q3CVjLN0JoqUvp6BUzdx4 ryWZ7OZiLTBcFU8iNvGaKfUOz2+J4vkMiFYopxk8IdvcK5jNOXABAGNyVN8J2w9FIXRM j57XJ6l3rEOWG8LY0fqrOczbGnKQ9gkVnFUuDVL4OpcVOrJntHN65a7vU5LbZCF3qnLE i/0Kvd16+ZSS6X4oq2TBkIuE6RE0nQZB4VKgg64ckcwDFyZFwGZ8SKa2uH4XMkhcIIB2 2C5WULzJLpMWsIIilL7Xyc8oAYPqEMf1FSQwurLViL7j3e/PSZRj203XXt7gPGHpdLWg HTeA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CON3Xo4HTctccUs3rvs6JLMxT3/HSztj3KMWMkuxNNU=; b=XkPzmjCDjlFVAykJaMzgUlmsfbPmGbmTe4R5kBNNlwyTZUGTXzMHqBDEXZvL/qE5M+ 6xAHet7cNqETJXRCrC1VrneaOCPvnl6G1CpcnfrkXxFQQwpoVcNdnBXA3kMj4pniXCgG HjYbG8QUiaqgpN9WRVfJjIq0ei6J7buqm5I7/bbJ5ElfSvJ2hBjs36bZ1xyvbz9IUAJx a6a368qDfrtl/NhB6WRDthI24JYQpVMd3u7ZZHgaPXFpJnJ0Q+bDuVks0b5b87/npiv5 RjreQHT2j3hOIxDKghguqVQW3JpZV3emPeXO4+hhifn29hZB/YOzlmOK1YWpLXsSsr66 yfKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YizmBtL0; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a63fa0a000000b005001391ef6bsi7437603pgh.108.2023.04.22.13.50.54; Sat, 22 Apr 2023 13:51:09 -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=@kernel.org header.s=k20201202 header.b=YizmBtL0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbjDVUue (ORCPT + 99 others); Sat, 22 Apr 2023 16:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjDVUua (ORCPT ); Sat, 22 Apr 2023 16:50:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06EAD26AF; Sat, 22 Apr 2023 13:50:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 84DCF6143A; Sat, 22 Apr 2023 20:50:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0297C4339B; Sat, 22 Apr 2023 20:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682196627; bh=7zeW/xv++SWINuXHU/MUsAajCSk6VKuZ5VI+UwjVzBY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YizmBtL0rRsM3d+Df6GBDq/V9QiNOcl0Xv1c43rft7AAu2fuqHImyp63WRVLj44xk iSPwrBtUCVY3O0368OleeeyNlnKWBbikBoVMEgLDWAaprOuQv7E2xUDZMEdiwbph+1 wBbSZjfd1U1KanoouNkBIWr6xNO6owrq8YSXK7zLfjsoC3BQ8v9/lt8GapL7dcguZt TPH3pePHTaaJfDIEABArHMG1alA2fZ131vqH0anad/I1cLstX3P4lHmBPUpAmqt9Rw 3Ys+5GJ/JYyBb0MoHb6QAfrJ7+y0QFi524ePijpUos1ksTrvfsyW7/EaLghMxJOt6z BEf8/b49KE8vw== Received: by mercury (Postfix, from userid 1000) id 0FEDC1066CC3; Sat, 22 Apr 2023 22:50:25 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel Cc: Gerald Loacker , Michael Riesch , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 04/13] drm/panel: sitronix-st7789v: remove unused constants Date: Sat, 22 Apr 2023 22:50:03 +0200 Message-Id: <20230422205012.2464933-5-sre@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422205012.2464933-1-sre@kernel.org> References: <20230422205012.2464933-1-sre@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 ST7789V_COLMOD_RGB_FMT_18BITS and ST7789V_COLMOD_CTRL_FMT_18BITS are unused in favour of MIPI_DCS_PIXEL_FMT_18BIT, remove them. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index e4d8dea1db36..f7566551b5e2 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -15,9 +15,6 @@ #include #include -#define ST7789V_COLMOD_RGB_FMT_18BITS (6 << 4) -#define ST7789V_COLMOD_CTRL_FMT_18BITS (6 << 0) - #define ST7789V_RAMCTRL_CMD 0xb0 #define ST7789V_RAMCTRL_RM_RGB BIT(4) #define ST7789V_RAMCTRL_DM_RGB BIT(0) -- 2.39.2