diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-02-25 13:31:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-02-25 13:31:23 +0000 |
commit | 3b16a635239718f94c2bef5bd0ee9f043f1451e0 (patch) | |
tree | e2d9feea3e22e49863947dfe34d8584e76eea075 /target/linux/brcm63xx/base-files | |
parent | 1fd65f01a6377deee9cd0a96a24079c8219663c3 (diff) | |
download | master-187ad058-3b16a635239718f94c2bef5bd0ee9f043f1451e0.tar.gz master-187ad058-3b16a635239718f94c2bef5bd0ee9f043f1451e0.tar.bz2 master-187ad058-3b16a635239718f94c2bef5bd0ee9f043f1451e0.zip |
switch: make LED port_mask file write handler use kstrtoul() function
This patch changes swconfig_trig_port_mask_store() handler to utilize
kstrtoul() function instead of call to obsolete simple_strtoul(). Thanks
to this change, new handler takes less memory and makes port_mask special
file accept not only hexadecimal, but also decimal and octal numbers.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48774 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
0 files changed, 0 insertions, 0 deletions