Thread (32 messages) 32 messages, 6 authors, 2d ago

Re: [PATCH v5 07/14] mfd: lm3533: Use dev_groups in struct device_driver

From: Andy Shevchenko <hidden>
Date: 2026-06-25 07:26:54
Also in: dri-devel, linux-devicetree, linux-iio, linux-leds, lkml

On Thu, Jun 25, 2026 at 10:24:00AM +0300, Andy Shevchenko wrote:
On Wed, Jun 17, 2026 at 11:00:24AM +0300, Svyatoslav Ryhel wrote:
...
quoted
 	.attrs		= lm3533_attributes
 };
 
+static const struct attribute_group *lm3533_attribute_groups[] = {
+	&lm3533_attribute_group,
+	NULL,
+};
We have ATTRIBUTE_GROUPS() macro.
Okay, it uses is_visible, so __ATTRIBUTE_GROUPS() that we can still use.

...
quoted
+++ b/drivers/video/backlight/lm3533_bl.c
Same as per above.
-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help