Parent: 4e54b08c942eae1cca728858ee9c4b0e260e8a8e
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-12-01 02:19:09
Tree: a12f7340c7134d77148b7516b45cb291b8e06213
adapter: Add a public function to find a device by path The public function is motivated by the Battery Provider API code which needs to probe whether a device exists. Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Diffstat
| M | src/adapter.c | | | 33 | ++++++++++++++++++++++++- - - - - - - - - |
| M | src/adapter.h | | | 2 | ++ |
2 files changed, 26 insertions(+), 9 deletions(-)