Re: [PATCH] greybus: Fix coding stye error

From: Maxime Rossi Bellom
Date: Fri Jan 27 2017 - 09:38:04 EST

On Fri, Jan 27, 2017 at 05:13:01PM +0300, Dan Carpenter wrote:
> I guess I'm not a fan of really long prefixes... I've complained before
> to other people so don't feel special. Prefixes are something that
> people add without thinking as if they always make the code better and
> I do blame JAVA influence for this...
> The "_interface" really doesn't add anything because that's always the
> first parameter that we pass. It's just filler.
> I think "try" is better than "request" probably. Request is regularly
> used as a noun and try never is.
> But I don't care at this point.
> regards,
> dan carpenter

I don't feel confortable removing a word in the function name as I don't
fully understand the code.

What about shorting interface into intf as it is used in connection->intf ?

Johan, what do you mean by using connection->intf in this case ? Are you
talking about a global variable usable in this context ?