Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp378656lqh; Thu, 28 Mar 2024 05:08:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNwVfk7CmiGv5BlLsIJHpm2Db4FLMDAA9lT/Hsbpklf8XMGVnwSQ5cBelfKnkOFwcgoUI6wFpdC0NrLOpAHD14Vc8yCaPKMr9vK2uwrQ== X-Google-Smtp-Source: AGHT+IHiHproJWXYvTm6GrlsPeCYQTArpOAB8E9LQUVAaGbFCrSNsD2B43a0q8aipcILJtIqZMpr X-Received: by 2002:a81:a1c1:0:b0:611:c2f2:a29d with SMTP id y184-20020a81a1c1000000b00611c2f2a29dmr2571478ywg.15.1711627716558; Thu, 28 Mar 2024 05:08:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711627716; cv=pass; d=google.com; s=arc-20160816; b=F6dXB62Ng3g/VPVDb3v+ylstB+xbg8C1luY1z4mDncI3NVD8GeOXSVyFFtpwrz86hW HSzaROeG8TT1WbNLZi/gPFphisNyzcOgnKU5hRgOMpUGAE1zQdruVuL4tQV0VqhAjrPU oFYZUHsqateEtIBXzrqecgWdkC0LFqQBbnJ1v43zcQmmAEHEVxcnAHnWAyqPG0djxuxa +BNfGQhG3h8JsWGt9YDlc2BcvE4N62G7H8ldTe0xqYLqpiowjOovGjiZQrX6Xp8F7YCe OVsoRXRnuAhAxFHt67SHVcbiyfi1lVbfok7RQs+EGq2kqzIfVWdShwmqewhi4VBIw/Gb i4bA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=xvPV1oOxYfJst0QbL59Wo7azS2Qx9I6HJxJYCTtseag=; fh=ofL0RkFAuSZI5yUa+HGtpfXx/ne3/qjqRgjIRiQ5l7o=; b=dvDbxSvJaXIYRYj8Uk/JV+CpAf0a0pDXRYR2UyFsQnA17Cp4i+JRIcsRmvJm2MBT6R Ex+dsCoLqTDv/LQ+CXKgWOyoCY7zqhd6PAdV3xorszVz1q5xmEzwQyJa6YiseyJXeWSI blRrORl0x03limRtknspdTdEnXW0f4JfhbTRV/7Gm2qE3kjv3Anjpnup35fAg2J1yXaJ cnv7amimNXYH1d1RzryxscwJegzU8umXGt81jb5KrRmhlhmOnyQnJOh6Tbl8nK/MaNgm bsDqoDBK5CUvS8tDKd2mRbdLLO4t+vqz6mgaEu6KBGSb4YE9LcWCsWOfWQCspYXwNmV2 M3Nw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Spbsk7Pj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122866-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c17-20020ab02611000000b007e0d63fed7bsi71256uao.159.2024.03.28.05.08.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 05:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Spbsk7Pj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122866-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 456F81C289DC for ; Thu, 28 Mar 2024 12:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2F907EF0D; Thu, 28 Mar 2024 12:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Spbsk7Pj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CA4337D416; Thu, 28 Mar 2024 12:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711627710; cv=none; b=WDktR2jbZavOqs3vkJqBKpDRXf/Iy89NQgqqLKZS/m2YhWCH2nhhEkRdRYImcaKJdECCIMHfmZDgJDDz/evYhRpacZuk13zeJ3ueH5rEzhjZMKSzqRmwAzJ4m8RlWZGDn2MgTQRABAGUtMk/XjRyrGevNW7uRukncxi2SN+HnQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711627710; c=relaxed/simple; bh=EOIqVbBIZHvmBl2nm/3zOxapkwwfi8FK8QI0I/jzM24=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=tA2oekhgdPOqHYLGq9l1snhtoIln6SxP9rPltNJa9iyJWOvnF2n2thH5mjNQJhmfBWs1ibVommE8JmdDYaokkyf1dyw8zs6hQmcL2kLNYlWnRb9LeepdhQuvPeghQV9T+0nt3OV26gn/K/Wmm8u5vVUgBF4t5X8AK2eczRohfBI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Spbsk7Pj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BEFBC433C7; Thu, 28 Mar 2024 12:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711627710; bh=EOIqVbBIZHvmBl2nm/3zOxapkwwfi8FK8QI0I/jzM24=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Spbsk7PjMKIKrWSHfhR2U6ayxxErjKwTza79sGUVMTiZm+8phYPhbzdHuQpuM7nKO OHV2i6e0nxXj4T0sEBBRsFe7XzFIjecpGJPdijgToMeXY53AZ8XZlIzNS/gCYGTtuf +BmDBbFlrgoUJwVhP/czcBIpPwN2TN47zg1PN0YeOITmPuw0NARTWLHmMMxlVhs1YU YbTlsDQNCZVt0FpdnRq3oOdYZ5M5aKFB9wGhIVD5XoakV2jz++kC4g5x82fq/RbtDq 3vfPZbegZ95axifNinQCt8/aSmoIwQgDTxOdjQ0USBHkchxqooRQlWK0I2FobV4LIy NB91Uw6Mr5wtg== From: Lee Jones To: lee@kernel.org, Greg Kroah-Hartman Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, deller@gmx.de, "Ricardo B. Marliere" In-Reply-To: <2024032805-putdown-mushy-a0f9@gregkh> References: <2024032805-putdown-mushy-a0f9@gregkh> Subject: Re: [PATCH v2 1/2] video: backlight: make backlight_class constant Message-Id: <171162770830.1983471.4181539912129600848.b4-ty@kernel.org> Date: Thu, 28 Mar 2024 12:08:28 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.4 On Thu, 28 Mar 2024 12:59:06 +0100, Greg Kroah-Hartman wrote: > Since commit 43a7206b0963 ("driver core: class: make class_register() take > a const *"), the driver core allows for struct class to be in read-only > memory, so move the backlight_class structure to be declared at build time > placing it into read-only memory, instead of having to be dynamically > allocated at boot time. > > > [...] Applied, thanks! [1/2] video: backlight: make backlight_class constant commit: 6683414cff25dc5b6e7dfe9dadf42b718384c892 [2/2] video: backlight: lcd: make lcd_class constant commit: d51564f749fe4e4efd570b0591f2d23696c90cc7 -- Lee Jones [李琼斯]