Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp464854lqi; Thu, 7 Mar 2024 02:33:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU4GMeTOI3lCyqtsnb8/7UMODth11c0vyQHwVK24b6r3EctyJf41lk1nHkyauQE+y8w/evi1+gNmzRLfBnMzYRibGVM7DhuvkT0yAnqoQ== X-Google-Smtp-Source: AGHT+IHLhXFGT3M9qO4/8ZwemTG1MsAz8JY1M21RvF2hvXAgDbKlVJyme+qxSkMVY6DyWw1XEJrn X-Received: by 2002:a17:90a:7563:b0:299:41de:9fea with SMTP id q90-20020a17090a756300b0029941de9feamr14769910pjk.15.1709807597872; Thu, 07 Mar 2024 02:33:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709807597; cv=pass; d=google.com; s=arc-20160816; b=FFmaviG8TvjAqt+VzMdQj7Fb6NEulrweaqk1p7J+0PvfTx15QoF16REnDFy6q4XpKc 4pU9+vHgJvJGC6EzImKqAdBdeL1sUjzB6wn2Z7vdka9jUqFWfVAmVPae80XMDtuk4qGH YYSatVcFKtFRM40TD435cQ0Dr4EXjpV+ZJxpPkXlTzI+kb7gH9+MaHb/bLusj1gRSulU n8U0dXa5WoZidoQBfTKkVsITFDvw1hkZxJR+EoOhICMsKGCkDknrCyu9GeSMGDJXI/ul WF/4cP1nbnOoRDr9c/ST1ZUDUx2TdJvArR++ClFNT3NCt0o8rbGXivKrkwGR2gF9SCBO +CXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=wMkf3YBzzlJjow/0vVDRQvuksnXHfscP5DgovGq9Jug=; fh=TMJ7bDVFHT9pWtkdXyMZwxlVCd/7u7Yf1COSSXOJ8N0=; b=hh+WI4Zj/mclJDDGjlKcRaooEgRHc0go0zlKBTD1/V+YhWObl3Xjl187lOBbQTAql0 nJsioQyqA/SKnu/dYamWQc84ZruhqnXiyzc7k+YrgLhkFpoqO05urgS9IGpyjqTb2/8Q 8/V8ktbiSZVTZW7yn2m5qbzbcQs7oGBDsrq+d0UnC5ncSlc0eCCiKzpSG7SzzVLLNyJa UCaYvAHpbT93oXi4fvBejyRiy1YcYtBFk1iheeXGTNdUigI0fnB2ALzl7CXEefx0e/+c Tr3zoA1OGZXmRItppybw8s165PjaLayHV0FHfHAWYfOb0mCEf1CT1TRGM/R81S+OZtUx 1RjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="qg/46i44"; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-95334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95334-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k36-20020a63ff24000000b005dc5568b149si13446791pgi.297.2024.03.07.02.33.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:33:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="qg/46i44"; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-95334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95334-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 892E6285A52 for ; Thu, 7 Mar 2024 10:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56D2D85635; Thu, 7 Mar 2024 10:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="qg/46i44" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E62C1CA84; Thu, 7 Mar 2024 10:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709807590; cv=none; b=rIvW+af4mdqT4PdzPHmr8kF3AxdxqjkXD8E8LglS9IDaY1NIFFPMj55M30RAd9kHMUYqad2yfZlw6CwwJZZfynKm29MMwEWDW0uTWY4Pl3+nOaXUbBOyyR9A6SqJ9dD3yefXmER8VkJv7NGFcSHKdf1PIVml1A/e+YGvP72bOH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709807590; c=relaxed/simple; bh=ZNlTKhT38L9w2ow/OTtwgahS1XjwIk25nFCjPgs4izU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=SGEXoqdLi9Rs5RfNbVfj5IXYSBRnyzJPNnOVZyQVTrxUYk2YBcHcZhQgCap8twDcX1aI7SXEtLgwf9Lu44cccwJY71znTFrr+esF3kQVVrF3AfkN9x+7Pte7FTtpNQxMznNhDzak/MG0413wzVEX3xDGkq6DILdasaqPe5XOsmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b=qg/46i44; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1709807585; bh=wMkf3YBzzlJjow/0vVDRQvuksnXHfscP5DgovGq9Jug=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qg/46i44H7pLCx54yhzkQgWVg4qZBTTKQD/Q8Bx1IRr8kgzzhEugpAN1Y2OEGOkGa oQOAWA19qY0L/SK4mQ00DydQh7P4PNpcK3IMibi3IeUjnyKgdicvq1f+/ZxQDmBuS/ LoGul/mSORMBJrLlhh3VqPkSPQ3tnsgZ+gH+lYI900OncOg8nfTmLTTggZlnfcpxCa j5tTTxmPyzavMUc3zNNuiVVFdCM8i4cgRVATCxL7hNgvC01y1VnnbmkIgw2ATnYMes W45h2k28FZndeHFogXTQFJYwTYK9CRw3VDuYH39GZmpy0vNy2jFm33252OVfCS5SN2 Vg/T4X/gy3Hww== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tr5H31vRTz4wbh; Thu, 7 Mar 2024 21:33:02 +1100 (AEDT) From: Michael Ellerman To: Thomas Zimmermann , jani.nikula@intel.com, naresh.kamboju@linaro.org, deller@gmx.de, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, lkft-triage@lists.linaro.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Thomas Zimmermann Subject: Re: [PATCH v3 3/3] arch/powerpc: Remove from backlight code In-Reply-To: <20240306122935.10626-4-tzimmermann@suse.de> References: <20240306122935.10626-1-tzimmermann@suse.de> <20240306122935.10626-4-tzimmermann@suse.de> Date: Thu, 07 Mar 2024 21:33:00 +1100 Message-ID: <87msranxgj.fsf@mail.lhotse> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Thomas Zimmermann writes: > Replace with a forward declaration in to > resolve an unnecessary dependency. Remove pmac_backlight_curve_lookup() > and struct fb_info from source and header files. The function and the > framebuffer struct are unused. No functional changes. > > v3: > * Add Fixes tag (Christophe) > * fix typos in commit message (Jani) > > Signed-off-by: Thomas Zimmermann > Fixes: d565dd3b0824 ("[PATCH] powerpc: More via-pmu backlight fixes") > Reviewed-by: Jani Nikula > --- > arch/powerpc/include/asm/backlight.h | 5 ++-- > arch/powerpc/platforms/powermac/backlight.c | 26 --------------------- > 2 files changed, 2 insertions(+), 29 deletions(-) Acked-by: Michael Ellerman (powerpc) cheers