Re: [PATCH 1/2] leds: blinkm: constify attribute_group structure

2017-08-14 Thread Jacek Anaszewski
Hi Amitoj, Similar patch is already queued in the for-next branch of linux-leds.git. Thanks, Jacek Anaszewski On 08/10/2017 06:28 PM, Amitoj Kaur Chawla wrote: > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not >

Re: [PATCH 1/2] leds: blinkm: constify attribute_group structure

2017-08-14 Thread Jacek Anaszewski
Hi Amitoj, Similar patch is already queued in the for-next branch of linux-leds.git. Thanks, Jacek Anaszewski On 08/10/2017 06:28 PM, Amitoj Kaur Chawla wrote: > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not >

[PATCH 1/2] leds: blinkm: constify attribute_group structure

2017-08-10 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 8657 3496 64 122172fb9

[PATCH 1/2] leds: blinkm: constify attribute_group structure

2017-08-10 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 8657 3496 64 122172fb9