roll: third_party/pigweed pw_kernel: Remove trait impls on Timer
Remove impls of `[Partial]Eq` and `[Partial]Ord` on `Timer`. Before this
commit, these impls considered two `Timer`s to be equal if their
deadlines were equal, and disregarded their callbacks. If a `Timer` were
inserted into a `HashMap` or similar collection, inserting a `Timer`
with the same deadline as an existing `Timer` would cause the new one to
replace the old one (probably not what the programmer would intend).
Instead, we replace `ForeignList::sorted_insert` with
`sorted_insert_by_key`, which sorts based on a specific field of the
element type. This allows us to insert `Timer`s into `ForeignList`s
by explicitly selecting the `deadline` field as the key.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/313832
Original-Revision: 70a7885506f1d03cbbe0d4e8b6a3965901958f58
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: e6c4f7493b2c8d..70a7885506f1d0
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8706168958490533409
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I3a0ac42ceb62e8fbbfe4c121d22c538fc9147218
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/314073
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index e6c4f74..70a7885 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit e6c4f7493b2c8db10fa0daf31b883cd3d099ee6f
+Subproject commit 70a7885506f1d03cbbe0d4e8b6a3965901958f58