Commit 5a6b56de authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Jonathan Cameron
Browse files

Replace HTTP links with HTTPS ones: Documentation/devicetree/bindings/iio

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^#

 \t\r\n]*(?:\w|/)`:
          If both the HTTP and HTTPS versions
          return 200 OK and serve the same content:
            Replace HTTP with HTTPS.

Signed-off-by: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> #for Matt's drivers
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent a777b22f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ maintainers:
description: |
  Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers that supports
  both I2C & SPI interfaces.
    http://www.analog.com/en/products/mems/accelerometers/adxl345.html
    http://www.analog.com/en/products/sensors-mems/accelerometers/adxl375.html
    https://www.analog.com/en/products/mems/accelerometers/adxl345.html
    https://www.analog.com/en/products/sensors-mems/accelerometers/adxl375.html

properties:
  compatible:
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Is is programmable through an SPI interface.

The internal DACs are loaded when the LOADDACS pin is pulled down.

http://www.ti.com/lit/ds/sbas106/sbas106.pdf
https://www.ti.com/lit/ds/sbas106/sbas106.pdf

Required Properties:
- compatible: Should be one of:
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ specifier is an array of one or more cells identifying the IIO
output on a device. The length of an IIO specifier is defined by the
value of a #io-channel-cells property in the IIO provider node.

[1] http://marc.info/?l=linux-iio&m=135902119507483&w=2
[1] https://marc.info/?l=linux-iio&m=135902119507483&w=2

==IIO providers==

+1 −1
Original line number Diff line number Diff line
* Avago APDS9300 ambient light sensor

http://www.avagotech.com/docs/AV02-1077EN
https://www.avagotech.com/docs/AV02-1077EN

Required properties:

+1 −1
Original line number Diff line number Diff line
* Avago APDS9960 gesture/RGB/ALS/proximity sensor

http://www.avagotech.com/docs/AV02-4191EN
https://www.avagotech.com/docs/AV02-4191EN

Required properties:

Loading