[PATCH 0/4] constify hid attribute_group structures.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (5):
  [PATCH 1/4] HID: multitouch: constify attribute_group structures.
  [PATCH 2/4] HID: sensor: constify attribute_group structures.
  [PATCH 3/4] HID: logitech-hidpp: constify attribute_group structures.
  [PATCH 4/4] HID: ntrig: constify attribute_group structures.

 drivers/hid/hid-logitech-hidpp.c |  2 +-
 drivers/hid/hid-multitouch.c     |  2 +-
 drivers/hid/hid-ntrig.c          |  2 +-
 drivers/hid/hid-sensor-custom.c  |  2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux