Dear Matt, In this series of patch I have added remove gadget, config, function, binding functionality which was missing since introduction of library. I have also added remove strings functionality which allow to remove gadget and configuration strings in given language. To show how to use new part of API I have also added example gadget-vid-pid-remove which removes gadget created by gadget-acm-ecm (identified using VID and PID). This series of patch depends on all my previous series which you can find on a list or in github pull request. -- BR's Krzysztof Opasiak Samsung R&D Institute Poland Samsung Electronics --- Changes since v1: - rebased on [1] and adjust to new memory management conventions - Replace sprintf with snprintf 1 - http://article.gmane.org/gmane.linux.usb.general/105164 Changes since v2: - rebased on v2 of earlier mentioned patch series - use sizeof(target) in snprintf() instead of macro with direct size - use USBG_MAX_PATH_LENGTH instead of PATH_MAX - clean up topic from unwanted patches added by mistake Changes since v3: - rebased pull request on top of current master branch - Replace recursive parameter with opts and provide define for recursive option to pass using this param - rename functions to be usbg_rm_* instead of usbg_remove_* to make their names shorter Krzysztof Opasiak (6): libusbg: Add remove binding functionality. libusbg: Add remove gadget/config strings functionality. libusbg: Add remove configuration functionality. libusbg: Add remove function functionality. libusbg: Add remove gadget functionality. libusbg: Update examples to new API functionality. examples/Makefile.am | 3 +- examples/gadget-vid-pid-remove.c | 114 +++++++++++++++++ include/usbg/usbg.h | 61 ++++++++- src/usbg.c | 259 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 435 insertions(+), 2 deletions(-) create mode 100644 examples/gadget-vid-pid-remove.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html