On Fri, Jul 19, 2013 at 04:06:16PM +0900, Jingoo Han wrote:
> The usage of strict_strtol() is not preferred, because
> strict_strtol() is obsolete. Thus, kstrtol() should be
> used.
> 
> Signed-off-by: Jingoo Han <jg1....@samsung.com>
> ---

Applied, thanks.

>  drivers/power/power_supply_sysfs.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/power_supply_sysfs.c 
> b/drivers/power/power_supply_sysfs.c
> index 29178f7..44420d1 100644
> --- a/drivers/power/power_supply_sysfs.c
> +++ b/drivers/power/power_supply_sysfs.c
> @@ -118,7 +118,7 @@ static ssize_t power_supply_store_property(struct device 
> *dev,
>       long long_val;
>  
>       /* TODO: support other types than int */
> -     ret = strict_strtol(buf, 10, &long_val);
> +     ret = kstrtol(buf, 10, &long_val);
>       if (ret < 0)
>               return ret;
>  
> -- 
> 1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to