cport: refactor send_msg_to_ap()
cport: refactor send_msg_to_ap()

This patch cleans up send_msg_to_ap() a bit.  The only functional
change is the first one:
    - Reorders arguments so the target AP cport id is first, and the
      message argument is grouped with its size
    - Use a local variable to refer to the message header
    - Renames the "op" argument to be "message"
    - Renames the "id" argument to be "operation_id"

Signed-off-by: Alex Elder <f429030cf5c0faf36fac3d102073b6e63a647baa@linaro.org>
Tested-by: Rui Miguel Silva <f529045c86d2c13bbdfc6f0cc7c0e057c243b006@linaro.org>
Reviewed-by: Rui Miguel Silva <f529045c86d2c13bbdfc6f0cc7c0e057c243b006@linaro.org>
Signed-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@google.com>

gregkh/gbsim,gregkh/gbsim,projectara/gbsim,projectara/gbsim