]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: gemini: Remove "cooling-{min|max}-level" for gpio-fan node
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Feb 2018 08:58:07 +0000 (14:28 +0530)
committerArnd Bergmann <arnd@arndb.de>
Tue, 27 Mar 2018 12:26:12 +0000 (14:26 +0200)
The "cooling-min-level" and "cooling-max-level" properties are not
parsed by any part of the kernel currently and the max cooling state of
gpio-fan cooling device is found by referring to the
"gpio-fan,speed-map" instead.

Remove the unused properties from the gpio-fan node.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/gemini-dlink-dns-313.dts

index da8bb9d60f99e6b5af6a3e7ff4c30215f6a91844..403364a7aab985094cd3b3adb1fad45d1d9d98f9 100644 (file)
@@ -78,8 +78,6 @@ fan0: gpio-fan {
                gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
                        <&gpio0 12 GPIO_ACTIVE_HIGH>;
                gpio-fan,speed-map = <0 0>, <3000 1>, <6000 2>;
-               cooling-min-level = <0>;
-               cooling-max-level = <2>;
                #cooling-cells = <2>;
        };