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 | f61a80444cc031a1f544e55d2093318c21d96e05 (patch) | |
tree | f2b9c653e711b81dd9ad0013c17e77f3b107235f /Makefile | |
parent | 3f76eeaadcf3aacbede9c76b09b8eaa2b3580b97 (diff) | |
download | upstream-f61a80444cc031a1f544e55d2093318c21d96e05.tar.gz upstream-f61a80444cc031a1f544e55d2093318c21d96e05.tar.bz2 upstream-f61a80444cc031a1f544e55d2093318c21d96e05.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>
SVN-Revision: 48774
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions