greybus: create get_version() routines with the help of a macro
This gets rid of lots of duplication of code. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Reviewed-by: NAlex Elder <elder@linaro.org> Signed-off-by: NGreg Kroah-Hartman <greg@kroah.com>
Showing
想要评论请 注册 或 登录