From mboxrd@z Thu Jan 1 00:00:00 1970 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 C55433FD13B for ; Mon, 2 Mar 2026 14:27:18 +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=1772461638; cv=none; b=f4kkX/GSU7pQFmtix85wcamPhQ26auItZ9egaE1Zb1ipvtJ3u+rgXBo8FbTbmEIbP+1C1ed2QXA2z/qu6q/QaXHSJl9dpfFSHa+q1a1XYSIw+WDfMwmxacqZFwt2Riv/wrNvIGvwYSzN8Svz+kZEYjb7ptw1dtEIMUka5yRW9U8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772461638; c=relaxed/simple; bh=CSlcI1TJnX2evvtng65PTcCfuRVhDKdLbNzFSKoxn14=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mX1Bxlrau4xoDEWOZ9RQk7yteX1VjLUDYVhldU0JM/b+XWLnsmb997EQtr3nIU7GCtRDea2n6f7RmU6QUoKDc3c2AD8M7/KYu72j+8U8oqHNwR2xO/r6CH26l/e42g0+tjXrQ/x6vsrjt13LkUGugYcfruLonLh62vFpmHWrAbU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Psgnzbvo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Psgnzbvo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42223C19423; Mon, 2 Mar 2026 14:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1772461638; bh=CSlcI1TJnX2evvtng65PTcCfuRVhDKdLbNzFSKoxn14=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PsgnzbvoHuAAG9rN69LjQI9pIVk0ezm4HlXOo0e7a8rkti1BxjeYfdez6Wrr+KkYH Afzqaf89FbfUx4rAXoNxl/NX8FkIReBCjC5ccxb9lyf9aVwOZz4dqgL8td38PDlZpX khfen1qa2Q2ADWIMDpVduIWCgyPHZoruoWn/pyLM= Date: Mon, 2 Mar 2026 09:27:07 -0500 From: Greg KH To: Jori Koolstra Cc: giometti@enneenne.com, linux-kernel@vger.kernel.org, kees@kernel.org Subject: Re: [PATCH] pps: change pps_gen_class to a const struct Message-ID: <2026030258-drinkable-shower-6c5c@gregkh> References: <20260302142436.3292766-1-jkoolstra@xs4all.nl> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260302142436.3292766-1-jkoolstra@xs4all.nl> On Mon, Mar 02, 2026 at 03:24:36PM +0100, Jori Koolstra wrote: > The class_create() call has been deprecated in favor of class_register() > as the driver core now allows for a struct class to be in read-only > memory. Change pps_gen_class to be a const struct class and drop the > class_create() call. > > Signed-off-by: Jori Koolstra > --- > drivers/pps/generators/pps_gen.c | 22 ++++++++++++---------- > 1 file changed, 12 insertions(+), 10 deletions(-) Reviewed-by: Greg Kroah-Hartman