[samples] Use |AddUnmanagedProtocol|

This CL migrates a usage of |AddProtocol| to
|AddUnmanagedProtocol|. The former name has been
deprecated in favor of the latter (fxrev.dev/780107).
This overload of |AddProtocol| is deprecated and planned
to be removed. For more context as to this change,
see discussions at fxrev.dev/775483.

Change-Id: If52f3cf56194f18a331f970e6a2e74e26a8095ad
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-samples/drivers/+/781931
Reviewed-by: Renato Mangini Dias <mangini@google.com>
Commit-Queue: Yaneury Fermin <yaneury@google.com>
1 file changed
tree: be7413256a3d5d21945ac5e78eb4fe3af8fa7bc8
  1. scripts/
  2. src/
  3. third_party/
  4. tools/
  5. .bazelrc
  6. .clang-format
  7. .gitignore
  8. .gitmodules
  9. AUTHORS
  10. CONTRIBUTING.md
  11. driver-samples.code-workspace
  12. LICENSE
  13. OWNERS
  14. PATENTS
  15. README.md
  16. WORKSPACE.bazel
README.md

Fuchsia samples using the Fuchsia SDK

This repository contains instructions and source code to build, package and run Fuchsia samples using only the Fuchsia SDK.

Please refer to https://fuchsia.dev/fuchsia-src/get-started/sdk/get-started-with-driver for the most up to date guidance on how to bootstrap this repository.