]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: rk8xx-core: Check "system-power-controller" first
authorDragan Simic <dsimic@manjaro.org>
Tue, 8 Oct 2024 14:30:10 +0000 (16:30 +0200)
committerLee Jones <lee@kernel.org>
Wed, 16 Oct 2024 08:04:11 +0000 (09:04 +0100)
commit337dd40b3bac67acfd74e4d8b2d9d4886e0d0aeb
tree574571961bd9eb29f4375b4fb5a5785271ea09e7
parent57eea9d05752283b67dd9f7bc70da37681c2d147
mfd: rk8xx-core: Check "system-power-controller" first

Commit 961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-
power-controller") made the property "rockchip,system-power-controller"
deprecated in favor of the shorter, universal form "system-power-controller".
Following the updates to the board dts files, [1] make the favored property
name checked first, to save a few CPU cycles.

[1] https://lore.kernel.org/linux-rockchip/20241008105450.20648-1-didi.debian@cknow.org/T/#u

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/08d4e88974c205eba124086ce156622e2e4cdc20.1728397516.git.dsimic@manjaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rk8xx-core.c