From: Viresh Kumar Date: Thu, 19 Mar 2015 11:32:48 +0000 (+0530) Subject: greybus: interface: remove double underscore from fn name X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1678 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9ee2b61df14f0afe8d7df86d8eaa24e6d59a923b;p=karo-tx-linux.git greybus: interface: remove double underscore from fn name Also bring * closer to gb_interface_get_drvdata :) Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index f5b0cef9311b..f444e311bfac 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -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); }