viafb: replace strict_strtoul to kstrto* and check return value
authorWang Shaoyan <wangshaoyan.pt@taobao.com>
Mon, 8 Aug 2011 02:18:15 +0000 (10:18 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 17 Aug 2011 20:13:13 +0000 (20:13 +0000)
commit4ce36bbb0497bdd3d6b8682175e5c58745b7acdd
tree6015a8add4208b3f35ea0be703855a458d116f86
parent94bd217e2d683719ab21a4ac117d8a1b91cbedc9
viafb: replace strict_strtoul to kstrto* and check return value

This commit replace the function strict_strtoul(becasue commit 33ee3b2e), and check the return value to avoid such warning:

  drivers/video/via/viafbdev.c:1992: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result

Signed-off-by: Wang Shaoyan <wangshaoyan.pt@taobao.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/viafbdev.c