From patchwork Wed Jun 24 14:57:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 191683 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp674651ile; Wed, 24 Jun 2020 08:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjIOMxAcBDpPZnWegMZ7BVbyewru++Fsd1cMeB1DG7/JQPb+DrgtraevNMnsh2MTfV9IUB X-Received: by 2002:aa7:c504:: with SMTP id o4mr16415719edq.311.1593011095788; Wed, 24 Jun 2020 08:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011095; cv=none; d=google.com; s=arc-20160816; b=YCmYdVEqXxelzAPWWDEiznuAyRmhAnv59qCFJmiSuFPNk7c2fvzPpTnxiL7OHQRLMh APda3mJRVipqsUDYwiaOcZV1OWTRD1aFRzSqM20pOiUw/g6FoalSnU7RohbEJD8+Ux64 yRHDulj7F8PUt8uuetz9PTnzTxI3Uq5thq8ujEZ9ZQ0X+or5U1ANbZyqVGtaoL6BA3a/ 3oBgG6LTa/sLSBg+8TOecoZLuduup0iK5sYyBzFNeSj1Nyu/nx7q5C/I1GlU73ptsJih KZijV/KDIRcDeyJB2KmXipvapxjW3+zX6qn41wLAyA7XWAR7Vi5e6rXCCvTlfLoNzJcO u4Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=RDOm1655FlqTH3K5Dm+dC5MpCj+PWanRbxJSahPulSxzEQvgvtDQFCU8UFca54dUuu ear5CHoj/Bc5I9TDFu6WPZoLPngknLxtmgffHdisRyJ99tc7YyBf11nnfh2fhW6Rh2e+ XAlYgj5SA62+KzHG0RA5IokH/iBqZIg7zNFBEL2st7+tPILvMUQrhBODZ3GH13NZmOzH ot1CzSS7s5u+xmKZ9S3uARg9+zI70zbfd0UI6phFaHTaOf2OjJeUKcQo/Ah1VrpigU68 C7IE/MOm8go4VjxFmNgCve+5K3cFVZzWZJ8qM4mkJcb8XRG4S4bH6Nt2E9jQlHHDSAZm xEwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jMGyaf2Y; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e19si14198281edr.418.2020.06.24.08.04.55; Wed, 24 Jun 2020 08:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jMGyaf2Y; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404373AbgFXPEy (ORCPT + 16 others); Wed, 24 Jun 2020 11:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404368AbgFXPEw (ORCPT ); Wed, 24 Jun 2020 11:04:52 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5314CC061798 for ; Wed, 24 Jun 2020 08:04:52 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id a6so4708482wmm.0 for ; Wed, 24 Jun 2020 08:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=jMGyaf2YOvnwdGALr7/G0emGXXMlzRVlYnFPWVRjaQMIqVwugRAnJc3hlq5hiW8h5c UlNYM5fXvpEjkCbgvKcR0hRU6Z7v6cS74QrqdBYQQwaf72KYCZRj32ckrnmu0aG5wzCh oQv/67iegU98VlySub1xjGVNx32ddSLk55uKDXkUIrvbzXltQVC60J2oVznaWMR03k3X c88NZ/cwdn2lcyWwoIaMvjTZKlgnZ3OueIPy8vYEViLHA8IFnXW05jOkLP4xaKWjAreX 6dOPEbwj+fmCGzpLHvYH0loVrVQGULW0wojhwots1TLiid7Psoh58sITpdd5KWwWa8ll /faw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=B7G3NLM3AvL0/kNbxfLHjvwDCjG1VgBlm1OaW4Jsu+u66ysee8m7wS3hjJ+k+CpfQw NWGeWcmPxfIwQgqoFd5JbR4HJqldFHQGWn9IR/tr6+qTAZ9mcYzszpfnc+2SnBMrYs9e gGbmn5p3Q+7ffWzhVwMqVerW9fPc3XvRcNbx+u/crBUlSK8dJC+QWi6UD6UEM4Yh1IS/ D6nEB7fbvAGxML7GBT+wFK3jT8z95lXDrN+e3VTuQkIKWEkkETVsdEABfItFWYmaftey unLfr4V+cnqi8GX2s5AS31TF4x97Q0vDv/YC5e/tDy0qjmeCMkxqaUhQDPW/fxDTXS/R 2YbA== X-Gm-Message-State: AOAM533RTby35jwKg2iA7ariBaxgzXQ3bXNc+bQnrOPGa/0JAho1amr0 inAeNWQr2tivcCtQhYkzTGKd+A== X-Received: by 2002:a1c:a5d6:: with SMTP id o205mr20552487wme.125.1593011091041; Wed, 24 Jun 2020 08:04:51 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id f186sm8200319wmf.29.2020.06.24.08.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:04:50 -0700 (PDT) From: Lee Jones To: daniel.thompson@linaro.org, jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , stable@vger.kernel.org, Andy Gross , Bjorn Andersson , Bartlomiej Zolnierkiewicz , linux-arm-msm@vger.kernel.org Subject: [PATCH 8/8] backlight: qcom-wled: Remove unused configs for LED3 and LED4 Date: Wed, 24 Jun 2020 15:57:21 +0100 Message-Id: <20200624145721.2590327-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624145721.2590327-1-lee.jones@linaro.org> References: <20200624145721.2590327-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fixes W=1 warnings: drivers/video/backlight/qcom-wled.c:1294:34: warning: ‘wled4_string_cfg’ defined but not used [-Wunused-const-variable=] 1294 | static const struct wled_var_cfg wled4_string_cfg = { | ^~~~~~~~~~~~~~~~ drivers/video/backlight/qcom-wled.c:1290:34: warning: ‘wled3_string_cfg’ defined but not used [-Wunused-const-variable=] 1290 | static const struct wled_var_cfg wled3_string_cfg = { | ^~~~~~~~~~~~~~~~ Cc: Cc: Andy Gross Cc: Bjorn Andersson Cc: Bartlomiej Zolnierkiewicz Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/video/backlight/qcom-wled.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.25.1 diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 4c8c34b994414..c25c31199952c 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -1287,14 +1287,6 @@ static const struct wled_var_cfg wled4_string_i_limit_cfg = { .size = ARRAY_SIZE(wled4_string_i_limit_values), }; -static const struct wled_var_cfg wled3_string_cfg = { - .size = 8, -}; - -static const struct wled_var_cfg wled4_string_cfg = { - .size = 16, -}; - static const struct wled_var_cfg wled5_mod_sel_cfg = { .size = 2, };