Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp332928lqs; Tue, 5 Mar 2024 03:34:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX0+lTO2zbvCqIr1sQma8o7APvUnIjxCxhLa21qsy/YeKl3VvY95dlyh39GpP3IsNIDNLApFy7BnFS9FlbotWdBcndopRnW3hJ3QrKeYQ== X-Google-Smtp-Source: AGHT+IHh82PC44pIkWwfZZ3aoo07T1UJ2es7lpSc8KnDpDWFUbHivbwiyDgSnJ3fUMb3W9kSe2pN X-Received: by 2002:a05:6870:1489:b0:21f:d2a2:7ff4 with SMTP id k9-20020a056870148900b0021fd2a27ff4mr1502897oab.17.1709638467016; Tue, 05 Mar 2024 03:34:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709638466; cv=pass; d=google.com; s=arc-20160816; b=iE+apBF59oEB3XyNFKY1slR5IfQZRooKRvdVhw3RgtdAECPdKFQj/XKR5lhq+eZlSD 1lsvixFtkehh8FSfyV/H7IKtt+NQGh4iRWUnXsDRPJJIaU5PcbAfl+YZglTBNe26INho aeV8n0+1t/CKTy4cC3Ji8SrqLlxec5j3pJQmjRNK1qxNCfpBmKrOulLHzd4pDgoDz3XB gmCwAnwxFrQUi0CNjY5RkQULYDIRfm7YJu7eECz+Aoap2wdTJJ98j4v1KOvnJoHivBj3 uyASMhj752ZMqtbrzh81n5dVpy3wqvzZ/5h3NWnZHGLNSxaqs+CCa3K/5JJ3WFx9JAHc zghQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject :dkim-signature:from; bh=9c7P4AsN9fpsoKzoJwB6VptYp+jLXrzfi7VE5UxanTA=; fh=h/hYi0mFGGu4RK/3D/6azwQfqNSa5CVfnBbT582EPjo=; b=iVoc3qDegQtwhQ6pHQ25Pn7Xr1Z38zIJ0AqO4+UUZ7jL9D6Ako55uSHZuVuw8hkJSt QyIKwbYeneMKI+hlizZiMDkCc2vrqGiC4OiAQMIwC93Oivjqd9XE5oO8Rb0EvmaMu+ta NdzW+n+z8VHppOZ3d39HbuQpu7RPeIO1OD++eOJW06DRtzlFMmakvXVCC919GZJCpO/6 eupiECSonUJ0ZoXSMasf3Vts3zul4+B0jh9rdnkAEUL/qCFO0nChAApoC1zlMAAXtgV9 wtY5JjQR8308cEg2lSXLTEcj93S8Gb5NV+RhT0NhSo9vqmoPRvHNwT1CnBGUjsEmmny2 0t2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marliere.net header.s=2024 header.b=EZzuJhDl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-92287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c20-20020a37e114000000b00788383932d1si530565qkm.698.2024.03.05.03.34.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:34:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92287-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=@marliere.net header.s=2024 header.b=EZzuJhDl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-92287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net 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 A5AC21C2395B for ; Tue, 5 Mar 2024 11:34:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D838958128; Tue, 5 Mar 2024 11:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b="EZzuJhDl" Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90FAD56758; Tue, 5 Mar 2024 11:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709638459; cv=none; b=oGwfFKzYFzwWpbjVX1hRQ530GWU062WVdSQZzzr1cVsnLBU9PrzBLx4k/si5m0y6KbhMitXsqP/Pznw569+WmHSBJj+gNTLKqm0cpuTrR6RRTRv3xoWPTGYMlYhyo+aRvl8io62JrS2F+tLycIprc2ozabOCHHUIcY96ls6uM58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709638459; c=relaxed/simple; bh=p3Usdi8NEVn9t1kDJN4YA4fwxeibQbkfEJtbw/RtQ9E=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QyumykCvjYoH4nrZZ3aojMP635jFBlaFWMj4L4uoeEQRAoNeb7+P62JLVSyUA/16KgQfdcoikIzPpRTOqBowodMdKC0rYhMLG3EDswFnuP9gs+NeHPPhJBIXed8zu3hyNmmZS/W0aqujHB8E/YT0ScjC9YpHyWaQ8DNMwA2+Jsg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b=EZzuJhDl; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5d3907ff128so5436030a12.3; Tue, 05 Mar 2024 03:34:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709638457; x=1710243257; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:dkim-signature:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=9c7P4AsN9fpsoKzoJwB6VptYp+jLXrzfi7VE5UxanTA=; b=Evt7V3saS69l813KZtEs2RSrXhEzcBEQPDQgClWRVn37QOPJBa334qVFXHxhz0+cRM 3QxLFKfKE6DCi0U+6dCOSkhqUsFu9RE1fUdBKwpTgR4Vw4qHgZpCu6e9ypnodJrtkQgE 5z8pFnNjzjz0gHEJmm2zEibbkdzztBF6SG0TeoPvcsXsy/35v4Hh+lco3UArZkkO8GL8 6a6FRT5/UeePWsh4zPw/zAEILrlz+TNJfvfpdRRSq1NN+QgMBYXkrLsnYHW0JfMndnx3 QY7rZHJ+IwpSzLjuvspYZdekjMN9hCDHTvvfO8SOG2lkNpiiWx+UNGHrdtTWL6KM1AHs tEcA== X-Forwarded-Encrypted: i=1; AJvYcCUhzsC6FVF6z3opCzwvfHJE4f28RIZpYXp6byO9mgiaPQezkV38O3SXs7TRyyfgb/9GMeyZ6tid3Xv4YCPQXtidhmgrgZt3xnNlMnZRllfMIWrud2z3B9SWnxgY5DRB6A94OpOKE4D2q3UrIkb+If5x1OtawkaAB2NjU0CsT2sXxObwSwr1yA== X-Gm-Message-State: AOJu0YyUFV1xAURZqGM+gP189z35D4sdu3VPEBNfX9Qv6gQVqfInwozp i59kXMcsid+iPdDYQjk4GW5w0ZqfKuU8zSQTwYrKm0NHjXRxGKWp X-Received: by 2002:a17:90a:7e14:b0:29a:6b1d:4d32 with SMTP id i20-20020a17090a7e1400b0029a6b1d4d32mr10346649pjl.38.1709638456902; Tue, 05 Mar 2024 03:34:16 -0800 (PST) Received: from mail.marliere.net ([24.199.118.162]) by smtp.gmail.com with ESMTPSA id m2-20020a17090a858200b002997a5eea5bsm9288490pjn.31.2024.03.05.03.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:34:16 -0800 (PST) From: "Ricardo B. Marliere" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marliere.net; s=2024; t=1709638455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9c7P4AsN9fpsoKzoJwB6VptYp+jLXrzfi7VE5UxanTA=; b=EZzuJhDl4Ssk4Fi41+Okkg10V6WH7NcFhK67GLnCe1BxspHdOcMnj3FxDPCl6GML7YRi3Y cKvxCexnRt+T64GDvTywq19VhFSk5ho/jEpqnLHTKkriq5H2/J3oBQQyMJJfKlbPv4LaWO r6un1Zq7cSg5zSEk6Ls4y+2vURLWHEIRPcMqngBx9kgzz6AO/Wg4JfILDbRKZ8mz3n72tO uIpjgM9gjKlb8C+S8V/1kCXli2/F04ABL3lhJpd0AGLOAT5P0LS6KyTXsXYlpJHjyI7xlg 2DKYFTnNuVOc57j2mJPXfpJqd/7yInxCCnpaHA19nh15UjvYDmwftoezTdRN7g== Authentication-Results: ORIGINATING; auth=pass smtp.auth=ricardo@marliere.net smtp.mailfrom=ricardo@marliere.net Subject: [PATCH RESEND drm-misc 0/4] drm: constify struct class usage Date: Tue, 05 Mar 2024 08:34:09 -0300 Message-Id: <20240305-class_cleanup-drm-v1-0-94f82740525a@marliere.net> 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: 7bit X-B4-Tracking: v=1; b=H4sIADED52UC/32NzQ6CMBCEX8Xs2Zr+SEw9eZCrBz0aYmpZZBMop ItEQ3h3Cw/g8ZvMzDcBYyRkOG4miDgSUxcSqO0GfO3CCwWViUFLvZdGZsI3jvnhG3Th3YsytiK zyruDeRpVaUi7PmJFn/XzDtf8ll/OS7xUW2IPRYKaeOjid9WOam3+MYxKSGGttM5oayppT62LD WHEXcABinmefzfhP5fJAAAA To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Hans de Goede , Helge Deller , Sumit Semwal , Benjamin Gaignard , Brian Starkey , John Stultz , "T.J. Mercier" , =?utf-8?q?Christian_K=C3=B6nig?= Cc: Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, "Ricardo B. Marliere" X-Developer-Signature: v=1; a=openpgp-sha256; l=1275; i=ricardo@marliere.net; h=from:subject:message-id; bh=p3Usdi8NEVn9t1kDJN4YA4fwxeibQbkfEJtbw/RtQ9E=; b=owEBbQKS/ZANAwAKAckLinxjhlimAcsmYgBl5wMyRfmZWlIW2DOu9EcfD+rKMK94X4PZQG5Qu j9nn5dUX5CJAjMEAAEKAB0WIQQDCo6eQk7jwGVXh+HJC4p8Y4ZYpgUCZecDMgAKCRDJC4p8Y4ZY pteSD/0VhMbV+81x3Qef/ijLUpc4bA/SSiwYbaX5+ykAiohgXbj0E5Se3sm6qSQ4altuwdLHHmN OIPbaBuhu5Xlb+iFNjImIaz5YjOiSjtj60LIU3+XMZH2X9nblsj6SDnlUSyPpjTa/vcSHuYNiSQ 39S5GIFYY9HqN4p3EXqjEZ11NeD+CHKOG9VUQKAcCCR8tYlf+vtWTi4PsxoOj0delkqawh63DLe m2KBpOlvqFVBm0CFjUaVu7Ys5QOozNEAuDjORSPlLWK9516GOSLfPZG+gMWLLUTYIKAa1/s+wzV hGhAnYa5MVSm87EDQHNSrgn3CMxtkkkGcMe8oqNcxUTeSv55MIFtA8ZD0VaCx3lGgIPBiT7Hu4C y7ewvzeHZSNrXFebuOhesuFegfU2D1ViJB475zXH0KhAAJZtRUVDk/fIreqLRBzNX5acrb+Zk84 HlLdb3+ilo7SOJ9XVFV+U2L04aulKzzUVfI6C/e0nT3QBaK5Rl4oht56TgOsTUsjYitZW6hfEvI HB9AUOM4cwmntImsMgN+Y6jsDWJfoXehZWh/CLkTnWnooM/wo3QonlwPraysHDNVsxmbr1pTeb2 CVmArk1WBM+u5NOjoz9qhi2aEBNldzYoIZzQuSXxPGQZLAEAqEreh+suSVxSKgBBjun2LYz2TW4 I+UxCjQyPX2WXnA== X-Developer-Key: i=ricardo@marliere.net; a=openpgp; fpr=030A8E9E424EE3C0655787E1C90B8A7C638658A6 This is a simple and straight forward cleanup series that aims to make the class structures in drm constant. This has been possible since 2023 [1]. [1]: https://lore.kernel.org/all/2023040248-customary-release-4aec@gregkh/ Signed-off-by: Ricardo B. Marliere --- Ricardo B. Marliere (4): drm/dp: make drm_dp_aux_dev_class constant drm/sysfs: make drm_class constant drm/fbdev/core: make fb_class constant dma-buf: heaps: make dma_heap_class constant drivers/dma-buf/dma-heap.c | 26 ++++++++++--------- drivers/gpu/drm/display/drm_dp_aux_dev.c | 22 ++++++++-------- drivers/gpu/drm/drm_internal.h | 2 +- drivers/gpu/drm/drm_privacy_screen.c | 2 +- drivers/gpu/drm/drm_sysfs.c | 44 ++++++++++++++------------------ drivers/video/fbdev/core/fb_internal.h | 2 +- drivers/video/fbdev/core/fbcon.c | 4 +-- drivers/video/fbdev/core/fbmem.c | 17 ++++++------ drivers/video/fbdev/core/fbsysfs.c | 4 +-- 9 files changed, 60 insertions(+), 63 deletions(-) --- base-commit: 4a0e7b3c37531aabddf6f144b83ae9b65ec809fd change-id: 20240305-class_cleanup-drm-591ca73b31f2 Best regards, -- Ricardo B. Marliere