power: sequencing: add defines for return values of the match() callback
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 24 Jun 2025 14:32:20 +0000 (16:32 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jun 2025 07:07:26 +0000 (09:07 +0200)
commit62b5848f73dd4f8ae17304dae54562d0c9ecdd3d
tree9b2be2933047f92fde4b3fa146d9c0aa64064da1
parent1a7312b93ab023f68b48a1550049a4f850c2c808
power: sequencing: add defines for return values of the match() callback

Instead of using 0 and 1 as magic numbers, let's add proper defines
whose names tell the reader what the meaning behind them is.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250624-pwrseq-match-defines-v1-3-a59d90a951f1@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/power/sequencing/core.c
include/linux/pwrseq/provider.h