Parent: fc420ead6edb432707d22461cfff5b4f66050c08
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:52:57
Tree: 71c92e58d06cd6f244f5de98fb0077d9c671385a
health: Simplify DBusConnection object handling This patch removes redundant references and function parameters for DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.
Diffstat
| M | profiles/health/hdp.c | | | 167 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | profiles/health/hdp.h | | | 6 | +++- - - |
| M | profiles/health/hdp_main.c | | | 16 | +- - - - - - - - - - - - - - - |
| M | profiles/health/hdp_manager.c | | | 15 | ++++- - - - - - - - - - - |
| M | profiles/health/hdp_manager.h | | | 2 | +- |
| M | profiles/health/hdp_types.h | | | 2 | - - |
| M | profiles/health/hdp_util.c | | | 6 | +++- - - |
7 files changed, 91 insertions(+), 123 deletions(-)