[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250423175040.784680-5-david.e.box@linux.intel.com>
Date: Wed, 23 Apr 2025 10:50:34 -0700
From: "David E. Box" <david.e.box@...ux.intel.com>
To: corbet@....net,
bhelgaas@...gle.com,
kuurtb@...il.com,
hdegoede@...hat.com,
ilpo.jarvinen@...ux.intel.com,
vkoul@...nel.org,
yung-chuan.liao@...ux.intel.com,
pierre-louis.bossart@...ux.dev,
sanyog.r.kale@...el.com,
gregkh@...uxfoundation.org,
rafael@...nel.org,
dakr@...nel.org,
david.e.box@...ux.intel.com,
dan.j.williams@...el.com,
andriy.shevchenko@...ux.intel.com
Cc: linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org,
platform-driver-x86@...r.kernel.org,
Dell.Client.Kernel@...l.com,
linux-sound@...r.kernel.org
Subject: [PATCH 4/7] pci: doe: Replace sysfs visibility macro
Replace deprecated DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE() call with the new
DEFINE_SYSFS_GROUP_VISIBILITY() helper for the pci_doe_features_sysfs group
in drivers/pci/doe.c.
Signed-off-by: David E. Box <david.e.box@...ux.intel.com>
---
drivers/pci/doe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/doe.c b/drivers/pci/doe.c
index aae9a8a00406..18b355506dc1 100644
--- a/drivers/pci/doe.c
+++ b/drivers/pci/doe.c
@@ -119,7 +119,7 @@ static bool pci_doe_features_sysfs_group_visible(struct kobject *kobj)
return !xa_empty(&pdev->doe_mbs);
}
-DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE(pci_doe_features_sysfs)
+DEFINE_SYSFS_GROUP_VISIBILITY(pci_doe_features_sysfs)
const struct attribute_group pci_doe_sysfs_group = {
.name = "doe_features",
--
2.43.0
Powered by blists - more mailing lists