Commit: ed6a8af4a31d00bd8a3b5aeb6f22b929f8637d6c
Parent: 4c34fcd00be61a1b9a659358eb5f6318f0fe2150
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-10-05 11:27:45
Tree: a5cb07a0a27f3fef3926b2a33b08d6d829eb5aba

device: Convert device_get_address into simple getter This allow to remove number of local variables used only to get device address and pass it as pointer later on. bdaddr_type parameter is also removed as there is device_get_addr_type already present which can be used to get it if needed.

Diffstat

M attrib/client.c | 42 ++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - -
M audio/manager.c | 6 ++- - - -
M plugins/wiimote.c | 4 +- - -
M profiles/gatt/gas.c | 20 ++++++++- - - - - - - - - - - -
M profiles/health/hdp.c | 4 +- - -
M profiles/health/hdp_util.c | 27 +++++++++++++- - - - - - - - - - - - - -
M profiles/input/device.c | 6 +++- - -
M profiles/network/manager.c | 10 +++++- - - - -
M profiles/proximity/monitor.c | 11 +++- - - - - - - -
M src/adapter.c | 6 ++- - - -
M src/device.c | 37 ++++++++++++++- - - - - - - - - - - - - - - - - - - - - - -
M src/device.h | 3 +- -
M src/event.c | 27 +++++++++- - - - - - - - - - - - - - - - - -
M src/profile.c | 24 +++++++++- - - - - - - - - - - - - - -

14 files changed, 87 insertions(+), 140 deletions(-)

View Full Diff | Patch