diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-03-19 17:02:48 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2015-03-19 15:02:28 +0100 |
commit | 9ee2b61df14f0afe8d7df86d8eaa24e6d59a923b (patch) | |
tree | 53eafff6f756b5ae2e8c2c0d06c0b60e2c06eaee /drivers/staging/greybus/interface.h | |
parent | 3b6cf2ee3b726747b61285c36a76cc810b102c35 (diff) |
greybus: interface: remove double underscore from fn name
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>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r-- | drivers/staging/greybus/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |