mfd: Replace strict_strtoul() with kstrtoul() in ab* and att*
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> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
@@ -2757,7 +2757,7 @@ static ssize_t show_irq(struct device *dev,
|
||||
unsigned int irq_index;
|
||||
int err;
|
||||
|
||||
err = strict_strtoul(attr->attr.name, 0, &name);
|
||||
err = kstrtoul(attr->attr.name, 0, &name);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user