aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-28 10:37:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 08:01:06 -0800
commit648cd48c9e566f53c5df30d79857e0937ae13b09 (patch)
tree1fd88b546e0018249a91befa414730de0a9a553b /drivers/hwmon/pmbus
parenthwmon: (max6639) Use SIMPLE_DEV_PM_OPS macro (diff)
downloadlinux-dev-648cd48c9e566f53c5df30d79857e0937ae13b09.tar.xz
linux-dev-648cd48c9e566f53c5df30d79857e0937ae13b09.zip
hwmon: Do not accept invalid name attributes
hwmon name attributes must not include '-', as specified in Documentation/hwmon/sysfs-interface. Also filter out spaces, tabs, wildcards, and newline characters. Tested-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus')
0 files changed, 0 insertions, 0 deletions