crypto: picoxcell - replace strict_strtoul() with kstrtoul()
authorJingoo Han <jg1.han@samsung.com>
Sat, 1 Jun 2013 07:05:57 +0000 (16:05 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:08 +0000 (16:43 +0800)
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c

index ac30724d923d4d0fef56fec1e7ad37dbec747402..888f7f4a6d3fa29a36c26a1ee1119428164d9df9 100644 (file)
@@ -1298,7 +1298,7 @@ static ssize_t spacc_stat_irq_thresh_store(struct device *dev,
        struct spacc_engine *engine = spacc_dev_to_engine(dev);
        unsigned long thresh;
 
-       if (strict_strtoul(buf, 0, &thresh))
+       if (kstrtoul(buf, 0, &thresh))
                return -EINVAL;
 
        thresh = clamp(thresh, 1UL, engine->fifo_sz - 1);