hwmon: Constify str parameter of hwmon_ops->read_string
authorJean Delvare <jdelvare@suse.de>
Tue, 7 Mar 2017 14:15:15 +0000 (06:15 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Apr 2017 14:01:53 +0000 (07:01 -0700)
commit5ba6bcbc335771c37d05b88cbfcad5441b57130b
tree1a301acb5a1874ba93adbdd3c59d3b0d08b43db7
parentb3ee2785eedaaaf2fe4166594953ddcb2a85c415
hwmon: Constify str parameter of hwmon_ops->read_string

The read_string callback is supposed to retrieve a pointer to a
constant string.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c
include/linux/hwmon.h