aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/mbx/mbxfb.c
diff options
context:
space:
mode:
authorEmil Goode <emilgoode@gmail.com>2012-05-29 18:57:00 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-06-05 21:47:26 +0000
commit5c888aa43ee9872efe2a09e8c9f03db84f60dd28 (patch)
treeb71a1b8006c67ed7051bdb559c031cebe20303ad /drivers/video/mbx/mbxfb.c
parentMerge tag 'omapdss-for-3.5-rc2' of git://gitorious.org/linux-omap-dss2/linux into fbdev-for-linus (diff)
downloadlinux-dev-5c888aa43ee9872efe2a09e8c9f03db84f60dd28.tar.xz
linux-dev-5c888aa43ee9872efe2a09e8c9f03db84f60dd28.zip
video: bfin_adv7393fb: Convert to kstrtouint_from_user
This patch removes a call to the deprecated simple_strtoul function and simplifies the code by replacing two function calls with one call to kstrtouint_from_user. -Simplify the adv7393_write_proc function by replacing the simple_strtoul and copy_from_user calls with one call to kstrtouint_from_user. -Change the count parameter from unsigned long to size_t as this is the type that the kstrtouint_from_user function expects. (size_t is what will be passed to the adv7393_write_proc function by the proc write handler function proc_file_write anyway) Signed-off-by: Emil Goode <emilgoode@gmail.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/mbx/mbxfb.c')
0 files changed, 0 insertions, 0 deletions