rtc: sysfs: use __ATTRIBUTE_GROUPS()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Jul 2025 08:01:08 +0000 (11:01 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 22 Jul 2025 11:06:19 +0000 (13:06 +0200)
commitfed5aaeb4e94e0f071bf467f2bafd5ea6f093722
tree68ac298b41cb7599fb09451a31aed292d088fdbf
parentbbe8d4fef308cddd11b2e766c8710d318334b88b
rtc: sysfs: use __ATTRIBUTE_GROUPS()

Embrace __ATTRIBUTE_GROUPS() to avoid boiler plate code.
This should not introduce any functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250702080108.2722905-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/sysfs.c