]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: clean up some small messes
authorAlex Elder <elder@linaro.org>
Fri, 27 Mar 2015 02:25:01 +0000 (21:25 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 27 Mar 2015 10:16:35 +0000 (11:16 +0100)
commitd3d2bea16149f36b0b654a0874cb9092ff86b134
tree0adf9e623ca005994899e6a3afc0f2ab5109c872
parent938451f184982a9a1b3a4daa3006ac5163020b35
greybus: clean up some small messes

This is an old patch that I neglected to send out.  It's cleaning
up a couple things that got committed before I had a chance to
comment on them.

In operation.c there is a "FIXME" comment that is easily proven
wrong by inspection.

In gb_protocol_put(), there is another wrong "FIXME" comment as
well.  We can also use our cached copies of the protocol major
and minor version number in another spot.  And balance that
out by using a cached copy of the protocol id.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c
drivers/staging/greybus/protocol.c