openwrtv3/target/linux/generic/files/drivers
Felix Fietkau f61a80444c 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
2016-02-25 13:31:23 +00:00
..
leds ledtrig-netdev: don't stop timer on events for different interfaces 2016-01-02 20:38:56 +00:00
mtd kernel: mtdsplit: support uimage with UBI 2016-02-24 22:43:16 +00:00
net/phy switch: make LED port_mask file write handler use kstrtoul() function 2016-02-25 13:31:23 +00:00