aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2016-03-30 13:20:25 -0700
committerBertrand Simonnet <bsimonnet@google.com>2016-03-30 23:53:18 +0000
commit87738fdcab54ab9a6a6525e7d5d9e3bf95ccb06e (patch)
tree2e0923217f12a177d2ca712feb18c9c611069f54
parentc5d5330637ed208e92b81c80ad12b53ffe4f0721 (diff)
downloadperipheralmanager-87738fdcab54ab9a6a6525e7d5d9e3bf95ccb06e.tar.gz
Remove listAvailableGpios.
This is not useful as we don't expect users to take runtime decisions based on this. Bug: 27836221 Bug: 27836293 Change-Id: Ieef02af25b222ec52cfe7f35d91f31707d438267
-rw-r--r--include/peripheralmanager/peripheral_manager_client.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/peripheralmanager/peripheral_manager_client.h b/include/peripheralmanager/peripheral_manager_client.h
index 8941a4c..5fdc5ff 100644
--- a/include/peripheralmanager/peripheral_manager_client.h
+++ b/include/peripheralmanager/peripheral_manager_client.h
@@ -41,15 +41,6 @@ typedef struct BPeripheralManagerClient BPeripheralManagerClient;
char** BPeripheralManagerClient_listGpio(const BPeripheralManagerClient* client,
int* num_gpio);
-/// Returns the list of available GPIOs.
-/// The list must be freed by the caller.
-/// @param client Pointer to the BPeripheralManagerClient struct.
-/// @param num_gpio Output pointer to the number of element in the list.
-/// @return The list of buses.
-char** BPeripheralManagerClient_listAvailableGpio(
- const BPeripheralManagerClient* client,
- int* num_gpio);
-
/// Opens a GPIO and takes ownership of it.
/// @param client Pointer to the BPeripheralManagerClient struct.
/// @param name Name of the GPIO.