OSDN Git Service

dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example
authorBhagavathi Perumal S <bperumal@codeaurora.org>
Thu, 20 Dec 2018 12:25:32 +0000 (14:25 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 17:09:41 +0000 (19:09 +0200)
In qcom,ath10k documentation, ath10k is used as node name in the example of
pci based device. Normally, node name should be class of device and not the
model name, so fix it to node name "wifi". And remove the property device_type
pci since only pci bridges should have this property.

Signed-off-by: Bhagavathi Perumal S <bperumal@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt

index 09ae594..bd6b276 100644 (file)
@@ -88,9 +88,8 @@ pci {
                #address-cells = <3>;
                device_type = "pci";
 
-               ath10k@0,0 {
+               wifi@0,0 {
                        reg = <0 0 0 0 0>;
-                       device_type = "pci";
                        qcom,ath10k-calibration-data = [ 01 02 03 ... ];
                };
        };