All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6]  constify misc attribute_group structures.
@ 2017-08-04  6:37 Arvind Yadav
  2017-08-04  6:37 ` [PATCH 1/6] misc: apds9802als: constify " Arvind Yadav
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Arvind Yadav @ 2017-08-04  6:37 UTC (permalink / raw)
  To: eric.piel, gregkh, arnd; +Cc: linux-kernel

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.

 drivers/misc/apds9802als.c         | 2 +-
 drivers/misc/apds990x.c            | 2 +-
 drivers/misc/bh1770glc.c           | 2 +-
 drivers/misc/isl29020.c            | 2 +-
 drivers/misc/lis3lv02d/lis3lv02d.c | 2 +-
 drivers/misc/ti-st/st_kim.c        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-04  9:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04  6:37 [PATCH 0/6] constify misc attribute_group structures Arvind Yadav
2017-08-04  6:37 ` [PATCH 1/6] misc: apds9802als: constify " Arvind Yadav
2017-08-04  6:37 ` [PATCH 2/6] misc: apds990x: " Arvind Yadav
2017-08-04  6:37 ` [PATCH 3/6] misc: bh1770glc: " Arvind Yadav
2017-08-04  6:37 ` [PATCH 4/6] misc: isl29020: " Arvind Yadav
2017-08-04  6:37 ` [PATCH 5/6] misc: lis3lv02d: " Arvind Yadav
2017-08-04  6:37 ` [PATCH 6/6] misc: ti-st: " Arvind Yadav
2017-08-04  9:10 ` [PATCH 0/6] constify misc " Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.