crypto: picoxcell - replace strict_strtoul() with kstrtoul()
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>
This commit is contained in:
parent
9a733019aa
commit
61e2d1a9b2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue