[PATCH] staging: line6: replace strict_strto* with kstrto*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[staging] line6: replace strict_strtoul/strict_strtol with kstrtoul/kstrtol

 * replace deprecated string conversions with kstrtol/kstrtoul

Signed-off-by: Daniel Walter <sahne@xxxxxxx>;
---
apply against current linux-next
---
diff --git a/drivers/staging/line6/toneport.c b/drivers/staging/line6/toneport.c
index 31b624b..0828480 100644
--- a/drivers/staging/line6/toneport.c
+++ b/drivers/staging/line6/toneport.c
@@ -129,7 +129,7 @@ static ssize_t toneport_set_led_red(struct device *dev,
 	int retval;
 	long value;
 
-	retval = strict_strtol(buf, 10, &value);
+	retval = kstrtol(buf, 10, &value);
 	if (retval)
 		return retval;
 
@@ -145,7 +145,7 @@ static ssize_t toneport_set_led_green(struct device *dev,
 	int retval;
 	long value;
 
-	retval = strict_strtol(buf, 10, &value);
+	retval = kstrtol(buf, 10, &value);
 	if (retval)
 		return retval;
 
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux