Merge tag 'ib-mfd-many-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Sep 2017 23:38:09 +0000 (16:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Sep 2017 23:38:09 +0000 (16:38 -0700)
Merge "Immutable branch between MFD and many other subsystems due for
the v4.14 merge window" to get the TWL headers moved to the right place.

1  2 
drivers/base/core.c
drivers/input/joystick/xpad.c
drivers/input/mouse/elan_i2c_core.c
include/linux/device.h
include/linux/kobject.h
lib/kobject_uevent.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -50,23 -52,15 +52,17 @@@ static const char *kobject_actions[] = 
        [KOBJ_MOVE] =           "move",
        [KOBJ_ONLINE] =         "online",
        [KOBJ_OFFLINE] =        "offline",
 +      [KOBJ_BIND] =           "bind",
 +      [KOBJ_UNBIND] =         "unbind",
  };
  
- /**
-  * kobject_action_type - translate action string to numeric type
-  *
-  * @buf: buffer containing the action string, newline is ignored
-  * @count: length of buffer
-  * @type: pointer to the location to store the action type
-  *
-  * Returns 0 if the action string was recognized.
-  */
- int kobject_action_type(const char *buf, size_t count,
-                       enum kobject_action *type)
+ static int kobject_action_type(const char *buf, size_t count,
+                              enum kobject_action *type,
+                              const char **args)
  {
        enum kobject_action action;
+       size_t count_first;
+       const char *args_start;
        int ret = -EINVAL;
  
        if (count && (buf[count-1] == '\n' || buf[count-1] == '\0'))