drm: modes: Revert cc344980c767 "replace simple_strtoul by kstrtouint"
commitd6e6e14fa61dcabbc05092ea124540280573720c
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 11 Dec 2015 12:58:59 +0000 (11 13:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Dec 2015 16:13:06 +0000 (11 17:13 +0100)
tree80143a1b0a7b37811d5072bfb5f5474661cb2616
parent5dec293b2434783a6924571df5239e10ab5e9331
drm: modes: Revert cc344980c767 "replace simple_strtoul by kstrtouint"

My latest commit introduce some case where a valid mode, could be
rejected.
simple_strtox functions stop at first non-digit character, but kstrtox
not.
So args like "video=HDMI-A-1:720x480-16@60" will be reject when checking
16@.

Discussions about this change comes to the conclusion that the best
solution is to revert my commit cc344980c76748e57c9c03100c2a14d36ab00334.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449838739-29969-1-git-send-email-clabbe.montjoie@gmail.com
drivers/gpu/drm/drm_modes.c