mmc: mmc_test: replace strict_strtol() with kstrtol_from_user()
authorJingoo Han <jg1.han@samsung.com>
Fri, 19 Jul 2013 07:02:43 +0000 (16:02 +0900)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 03:19:05 +0000 (23:19 -0400)
commit4be7085f744be070d327ed258d6ceb79b7323f6d
tree7973091b30cb453a2ff8180b64965c51d6c9f60c
parentb3894f267d96146ef2bc5fa21437cb9be4e18254
mmc: mmc_test: replace strict_strtol() with kstrtol_from_user()

The usage of strict_strtol() is not preferred, because
strict_strtol() is obsolete. Thus, kstrtol() should be used.

Also, both kstrtol() and copy_from_user() can be replaced
with kstrtol_from_user() to make the code simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c
This page took 0.024242 seconds and 5 git commands to generate.