Commit b22fd468 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Greg Kroah-Hartman
Browse files

s390/con3215: Remove spurious NULL in attribute_group definition



This NULL value is most-likely a copy-paste error from an array
definition. So far the NULL didn't have any effect.
As there will be a union in struct attribute_group at this location,
it will trigger a compiler warning.

Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241118-sysfs-const-attribute_group-fixes-v1-2-48e0b0ad8cba@weissschuh.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 573bcbe1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -803,7 +803,6 @@ static struct attribute *con3215_drv_attrs[] = {

static struct attribute_group con3215_drv_attr_group = {
	.attrs = con3215_drv_attrs,
	NULL,
};

static const struct attribute_group *con3215_drv_attr_groups[] = {