[PATCH 0/3] driver core: constify groups arrays in few functions and struct class

Heiner Kallweit posted 3 patches 1 month, 2 weeks ago
drivers/base/core.c          |  5 +++--
fs/sysfs/group.c             | 10 +++++-----
include/linux/device.h       |  4 ++--
include/linux/device/class.h |  4 ++--
include/linux/sysfs.h        | 16 ++++++++--------
5 files changed, 20 insertions(+), 19 deletions(-)
[PATCH 0/3] driver core: constify groups arrays in few functions and struct class
Posted by Heiner Kallweit 1 month, 2 weeks ago
This series constifies the attribute group groups arrays in a number
of functions, and in struct class. This allows to assign constant
arrays, w/o "discards const qualifier" compiler warning.

Heiner Kallweit (3):
  sysfs: constify group arrays in function arguments
  driver: core: constify groups array argument in device_add_groups and
    device_remove_groups
  driver core: make struct class groups members constant arrays

 drivers/base/core.c          |  5 +++--
 fs/sysfs/group.c             | 10 +++++-----
 include/linux/device.h       |  4 ++--
 include/linux/device/class.h |  4 ++--
 include/linux/sysfs.h        | 16 ++++++++--------
 5 files changed, 20 insertions(+), 19 deletions(-)

-- 
2.53.0