driver: Share bus_driver_get_conn_helper with other modules
authorSimon McVittie <smcv@collabora.com>
Fri, 9 Jun 2017 15:24:13 +0000 (16:24 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 29 Jun 2017 14:42:20 +0000 (15:42 +0100)
commit64dfab578c99d3b58324b0fc6b1da0d95f6ab9b5
tree8531e7a60eecf552fbf4a8b9c8e98873147c4131
parent38e9bc323bb011224b973f3a277443dee6c5f8d5
driver: Share bus_driver_get_conn_helper with other modules

Now that we're starting to implement methods in more places, it makes
sense to share this code. The Stats interface can already benefit.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101567
bus/driver.c
bus/driver.h
bus/stats.c