Re: [PATCH 0/6] constify misc attribute_group structures.

From: Arnd Bergmann
Date: Fri Aug 04 2017 - 05:11:03 EST


On Fri, Aug 4, 2017 at 8:37 AM, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
> attribute_group are not supposed to change at runtime. All functions
> working with attribute_group provided by <linux/sysfs.h> work with
> const attribute_group. So mark the non-const structs as const.
>
> Arvind Yadav (6):
> [PATCH 1/6] misc: apds9802als: constify attribute_group structures.
> [PATCH 2/6] misc: apds990x: constify attribute_group structures.
> [PATCH 3/6] misc: bh1770glc: constify attribute_group structures.
> [PATCH 4/6] misc: isl29020: constify attribute_group structures.
> [PATCH 5/6] misc: lis3lv02d: constify attribute_group structures.
> [PATCH 6/6] misc: ti-st: constify attribute_group structures.

Looks good to me, thanks

Arnd