Files
linux-apfs/drivers/rtc
LABBE Corentin f571287bda rtc: Replace simple_strtoul by kstrtoul
The simple_strtoul function is obsolete.
This patch replace it by kstrtoul.

Since kstrtoul is more strict, it permits to filter some invalid input that
simple_strtoul accept. For example:
echo '1022xxx' > /sys/devices/pnp0/00:03/rtc/rtc0/max_user_freq
cat /sys/devices/pnp0/00:03/rtc/rtc0/max_user_freq
1022

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-01-11 20:20:02 +01:00
..
2016-01-11 20:19:59 +01:00
2016-01-11 20:19:59 +01:00
2016-01-11 20:20:01 +01:00
2015-09-05 19:37:18 +02:00
2016-01-11 20:19:58 +01:00
2016-01-11 20:19:58 +01:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2015-09-05 19:37:19 +02:00