[linux-yocto] [PATCH 1/8] Revert "usb: typec: Use strtobool instead of kstrtobool for 4.4 kernel"

Pranav Tipnis pranav.tipnis at intel.com
Fri Jul 8 16:18:26 PDT 2016


This reverts commit 36bc17a0946778cf5ae378eb6bb990a7dafff6f7.

Reverted because of incorrect author name for typec patches.

Signed-off-by: Pranav Tipnis <pranav.tipnis at intel.com>
---
 drivers/usb/typec/typec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/typec/typec.c b/drivers/usb/typec/typec.c
index 341380a..bbfd6e5 100644
--- a/drivers/usb/typec/typec.c
+++ b/drivers/usb/typec/typec.c
@@ -625,7 +625,7 @@ typec_altmode_active_store(struct device *dev, struct device_attribute *attr,
 	bool activate;
 	int ret;
 
-	ret = strtobool(buf, &activate);
+	ret = kstrtobool(buf, &activate);
 	if (ret)
 		return ret;
 
-- 
1.9.1



More information about the linux-yocto mailing list