From: Emil Goode Date: Tue, 29 May 2012 16:57:00 +0000 (+0200) Subject: video: bfin_adv7393fb: Convert to kstrtouint_from_user X-Git-Tag: v3.5-rc3~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c888aa43ee9872efe2a09e8c9f03db84f60dd28;p=pandora-kernel.git 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 Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed