[PATCH 0/5] pwrseq: replace magic numbers with defines for match() return values
Bartosz Golaszewski
brgl at bgdev.pl
Mon Jun 30 00:11:17 PDT 2025
From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
On Tue, 24 Jun 2025 16:32:17 +0200, Bartosz Golaszewski wrote:
> We currently use 0 or 1 as magic numbers returned from the match()
> callback. It's more readable to replace them with proper defines whose
> names indicate the meaning. While at it: fix a build issue with the
> thead-gpu driver I noticed and extend build coverage for the drivers.
>
>
Applied with commit subjects tweaked to say "power: sequencing: ...", thanks!
[1/5] pwrseq: thead-gpu: add missing header
https://git.kernel.org/brgl/linux/c/5bcfc4ef40dabcd16a0b736fea7f0d00a9efdbfb
[2/5] pwrseq: extend build coverage for pwrseq drivers with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/1a7312b93ab023f68b48a1550049a4f850c2c808
[3/5] pwrseq: add defines for return values of the match() callback
https://git.kernel.org/brgl/linux/c/62b5848f73dd4f8ae17304dae54562d0c9ecdd3d
[4/5] pwrseq: qcom-wcn: use new defines for match() return values
https://git.kernel.org/brgl/linux/c/f698155029efc708349126c8944fa8c95b28098c
[5/5] pwrseq: thead-gpu: use new defines for match() return values
https://git.kernel.org/brgl/linux/c/385b735c90ae44dbde65fab76e356a96ff8f67be
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
More information about the linux-riscv
mailing list