drivers/nble: Style fixes

Fixes some styles and removes p_buf from debug log.

Change-Id: I861c2c250d8478353f8272e9c59c06f9fc211036
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-02-04 16:43:16 +02:00 committed by Anas Nashif
commit d4bb288f7b
2 changed files with 5 additions and 5 deletions

View file

@ -93,12 +93,12 @@ static void poll_out(const void *buf, size_t length)
}
}
void rpc_transmit_cb(uint8_t *p_buf, uint16_t length)
void rpc_transmit_cb(uint8_t *data, uint16_t length)
{
struct net_buf *buf = CONTAINER_OF(p_buf, struct net_buf, __buf);
struct net_buf *buf = CONTAINER_OF(data, struct net_buf, __buf);
struct ipc_uart_header hdr;
BT_DBG("p_buf %p length %u", p_buf, length);
BT_DBG("buf %p length %u", data, length);
hdr.len = length;
hdr.channel = 0;