[roll] Roll fuchsia [starnix] Simplify add device interface

* Added class kobject, where the device is belonged to, in
`KObjectDeviceAttribute`.
* Used `KObjectDeviceAttribute` as the ultimate struct to provide
device info when being added in sysfs.
* `kernel.add_and_register_device` is for single device registration.
* `kernel.add_device` is for devices which driver has preallocated the
registration of a range of devices, or dynamic devices.

Original-Bug: 121327
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/890693
Original-Revision: c8d02174771816c23c9d7deb126d5d9c95c18fca
GitOrigin-RevId: 7640ada8aaeb9a49f06b8bdccfbbc0be8a4dfb6c
Change-Id: I63b789a53dadf90891043f26d635671859f7ef6a
1 file changed
tree: 0a1409a3e7740f9a87f783baf9b9d623a3b8926a
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.