OSDN Git Service

greybus: interface: remove double underscore from fn name
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 19 Mar 2015 11:32:48 +0000 (17:02 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 19 Mar 2015 14:02:28 +0000 (15:02 +0100)
Also bring * closer to gb_interface_get_drvdata :)

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/interface.h

index f5b0cef..f444e31 100644 (file)
@@ -37,7 +37,7 @@ static inline void gb_interface_set_drvdata(struct gb_interface *intf,
        dev_set_drvdata(&intf->dev, data);
 }
 
-static inline void * gb_interface__get_drvdata(struct gb_interface *intf)
+static inline void *gb_interface_get_drvdata(struct gb_interface *intf)
 {
        return dev_get_drvdata(&intf->dev);
 }