Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Replace HTTP links with HTTPS ones: drivers/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: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Alexander A. Klimov and committed by
Jonathan Cameron
3593cd53 5a6b56de

+59 -59
+1 -1
drivers/iio/accel/adxl345_core.c
··· 4 4 * 5 5 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com> 6 6 * 7 - * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf 7 + * Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf 8 8 */ 9 9 10 10 #include <linux/module.h>
+1 -1
drivers/iio/adc/ad7949.c
··· 3 3 * 4 4 * Copyright (C) 2018 CMC NV 5 5 * 6 - * http://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf 6 + * https://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf 7 7 */ 8 8 9 9 #include <linux/delay.h>
+1 -1
drivers/iio/adc/ina2xx-adc.c
··· 273 273 * Available averaging rates for ina226. The indices correspond with 274 274 * the bit values expected by the chip (according to the ina226 datasheet, 275 275 * table 3 AVG bit settings, found at 276 - * http://www.ti.com/lit/ds/symlink/ina226.pdf. 276 + * https://www.ti.com/lit/ds/symlink/ina226.pdf. 277 277 */ 278 278 static const int ina226_avg_tab[] = { 1, 4, 16, 64, 128, 256, 512, 1024 }; 279 279
+4 -4
drivers/iio/adc/mcp320x.c
··· 27 27 * MCP3553 28 28 * 29 29 * Datasheet can be found here: 30 - * http://ww1.microchip.com/downloads/en/DeviceDoc/21293C.pdf mcp3001 31 - * http://ww1.microchip.com/downloads/en/DeviceDoc/21294E.pdf mcp3002 32 - * http://ww1.microchip.com/downloads/en/DeviceDoc/21295d.pdf mcp3004/08 30 + * https://ww1.microchip.com/downloads/en/DeviceDoc/21293C.pdf mcp3001 31 + * https://ww1.microchip.com/downloads/en/DeviceDoc/21294E.pdf mcp3002 32 + * https://ww1.microchip.com/downloads/en/DeviceDoc/21295d.pdf mcp3004/08 33 33 * http://ww1.microchip.com/downloads/en/DeviceDoc/21290D.pdf mcp3201 34 34 * http://ww1.microchip.com/downloads/en/DeviceDoc/21034D.pdf mcp3202 35 35 * http://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf mcp3204/08 36 - * http://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 36 + * https://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 37 37 * http://ww1.microchip.com/downloads/en/DeviceDoc/21950D.pdf mcp3550/1/3 38 38 */ 39 39
+2 -2
drivers/iio/adc/mcp3422.c
··· 6 6 * Author: Angelo Compagnucci <angelo.compagnucci@gmail.com> 7 7 * 8 8 * Datasheet: http://ww1.microchip.com/downloads/en/devicedoc/22088b.pdf 9 - * http://ww1.microchip.com/downloads/en/DeviceDoc/22226a.pdf 10 - * http://ww1.microchip.com/downloads/en/DeviceDoc/22072b.pdf 9 + * https://ww1.microchip.com/downloads/en/DeviceDoc/22226a.pdf 10 + * https://ww1.microchip.com/downloads/en/DeviceDoc/22072b.pdf 11 11 * 12 12 * This driver exports the value of analog input voltage to sysfs, the 13 13 * voltage unit is nV.
+3 -3
drivers/iio/adc/ti-adc081c.c
··· 6 6 * Copyright (C) 2016 Intel 7 7 * 8 8 * Datasheets: 9 - * http://www.ti.com/lit/ds/symlink/adc081c021.pdf 10 - * http://www.ti.com/lit/ds/symlink/adc101c021.pdf 11 - * http://www.ti.com/lit/ds/symlink/adc121c021.pdf 9 + * https://www.ti.com/lit/ds/symlink/adc081c021.pdf 10 + * https://www.ti.com/lit/ds/symlink/adc101c021.pdf 11 + * https://www.ti.com/lit/ds/symlink/adc121c021.pdf 12 12 * 13 13 * The devices have a very similar interface and differ mostly in the number of 14 14 * bits handled. For the 8-bit and 10-bit models the least-significant 4 or 2
+1 -1
drivers/iio/adc/ti-adc0832.c
··· 4 4 * 5 5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 6 6 * 7 - * Datasheet: http://www.ti.com/lit/ds/symlink/adc0832-n.pdf 7 + * Datasheet: https://www.ti.com/lit/ds/symlink/adc0832-n.pdf 8 8 */ 9 9 10 10 #include <linux/module.h>
+1 -1
drivers/iio/adc/ti-adc084s021.c
··· 4 4 * 5 5 * Driver for Texas Instruments' ADC084S021 ADC chip. 6 6 * Datasheets can be found here: 7 - * http://www.ti.com/lit/ds/symlink/adc084s021.pdf 7 + * https://www.ti.com/lit/ds/symlink/adc084s021.pdf 8 8 */ 9 9 10 10 #include <linux/err.h>
+3 -3
drivers/iio/adc/ti-adc128s052.c
··· 4 4 * 5 5 * Driver for Texas Instruments' ADC128S052, ADC122S021 and ADC124S021 ADC chip. 6 6 * Datasheets can be found here: 7 - * http://www.ti.com/lit/ds/symlink/adc128s052.pdf 8 - * http://www.ti.com/lit/ds/symlink/adc122s021.pdf 9 - * http://www.ti.com/lit/ds/symlink/adc124s021.pdf 7 + * https://www.ti.com/lit/ds/symlink/adc128s052.pdf 8 + * https://www.ti.com/lit/ds/symlink/adc122s021.pdf 9 + * https://www.ti.com/lit/ds/symlink/adc124s021.pdf 10 10 */ 11 11 12 12 #include <linux/acpi.h>
+1 -1
drivers/iio/adc/ti-ads124s08.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* TI ADS124S0X chip family driver 3 - * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ 3 + * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 4 4 */ 5 5 6 6 #include <linux/err.h>
+1 -1
drivers/iio/adc/ti-ads7950.c
··· 9 9 * Copyright 2012 CS Systemes d'Information 10 10 * 11 11 * And also on hwmon/ads79xx.c 12 - * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 12 + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 13 13 * Nishanth Menon 14 14 */ 15 15
+1 -1
drivers/iio/adc/ti-ads8344.c
··· 4 4 * 5 5 * Author: Gregory CLEMENT <gregory.clement@bootlin.com> 6 6 * 7 - * Datasheet: http://www.ti.com/lit/ds/symlink/ads8344.pdf 7 + * Datasheet: https://www.ti.com/lit/ds/symlink/ads8344.pdf 8 8 */ 9 9 10 10 #include <linux/delay.h>
+2 -2
drivers/iio/adc/ti-tlc4541.c
··· 5 5 * Copyright (C) 2017 Phil Reid 6 6 * 7 7 * Datasheets can be found here: 8 - * http://www.ti.com/lit/gpn/tlc3541 9 - * http://www.ti.com/lit/gpn/tlc4541 8 + * https://www.ti.com/lit/gpn/tlc3541 9 + * https://www.ti.com/lit/gpn/tlc4541 10 10 * 11 11 * The tlc4541 requires 24 clock cycles to start a transfer. 12 12 * Conversion then takes 2.94us to complete before data is ready
+1 -1
drivers/iio/adc/ti_am335x_adc.c
··· 1 1 /* 2 2 * TI ADC MFD driver 3 3 * 4 - * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 4 + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 5 * 6 6 * This program is free software; you can redistribute it and/or 7 7 * modify it under the terms of the GNU General Public License as
+1 -1
drivers/iio/adc/twl4030-madc.c
··· 5 5 * conversion of analog signals like battery temperature, 6 6 * battery type, battery level etc. 7 7 * 8 - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 8 + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 9 9 * J Keerthy <j-keerthy@ti.com> 10 10 * 11 11 * Based on twl4030-madc.c
+6 -6
drivers/iio/dac/ti-dac082s085.c
··· 4 4 * 5 5 * Copyright (C) 2017 KUNBUS GmbH 6 6 * 7 - * http://www.ti.com/lit/ds/symlink/dac082s085.pdf 8 - * http://www.ti.com/lit/ds/symlink/dac102s085.pdf 9 - * http://www.ti.com/lit/ds/symlink/dac122s085.pdf 10 - * http://www.ti.com/lit/ds/symlink/dac084s085.pdf 11 - * http://www.ti.com/lit/ds/symlink/dac104s085.pdf 12 - * http://www.ti.com/lit/ds/symlink/dac124s085.pdf 7 + * https://www.ti.com/lit/ds/symlink/dac082s085.pdf 8 + * https://www.ti.com/lit/ds/symlink/dac102s085.pdf 9 + * https://www.ti.com/lit/ds/symlink/dac122s085.pdf 10 + * https://www.ti.com/lit/ds/symlink/dac084s085.pdf 11 + * https://www.ti.com/lit/ds/symlink/dac104s085.pdf 12 + * https://www.ti.com/lit/ds/symlink/dac124s085.pdf 13 13 */ 14 14 15 15 #include <linux/iio/iio.h>
+9 -9
drivers/iio/dac/ti-dac5571.c
··· 4 4 * 5 5 * Copyright (C) 2018 Prevas A/S 6 6 * 7 - * http://www.ti.com/lit/ds/symlink/dac5571.pdf 8 - * http://www.ti.com/lit/ds/symlink/dac6571.pdf 9 - * http://www.ti.com/lit/ds/symlink/dac7571.pdf 10 - * http://www.ti.com/lit/ds/symlink/dac5574.pdf 11 - * http://www.ti.com/lit/ds/symlink/dac6574.pdf 12 - * http://www.ti.com/lit/ds/symlink/dac7574.pdf 13 - * http://www.ti.com/lit/ds/symlink/dac5573.pdf 14 - * http://www.ti.com/lit/ds/symlink/dac6573.pdf 15 - * http://www.ti.com/lit/ds/symlink/dac7573.pdf 7 + * https://www.ti.com/lit/ds/symlink/dac5571.pdf 8 + * https://www.ti.com/lit/ds/symlink/dac6571.pdf 9 + * https://www.ti.com/lit/ds/symlink/dac7571.pdf 10 + * https://www.ti.com/lit/ds/symlink/dac5574.pdf 11 + * https://www.ti.com/lit/ds/symlink/dac6574.pdf 12 + * https://www.ti.com/lit/ds/symlink/dac7574.pdf 13 + * https://www.ti.com/lit/ds/symlink/dac5573.pdf 14 + * https://www.ti.com/lit/ds/symlink/dac6573.pdf 15 + * https://www.ti.com/lit/ds/symlink/dac7573.pdf 16 16 */ 17 17 18 18 #include <linux/iio/iio.h>
+1 -1
drivers/iio/dac/ti-dac7311.c
··· 3 3 * 4 4 * Copyright (C) 2018 CMC NV 5 5 * 6 - * http://www.ti.com/lit/ds/symlink/dac7311.pdf 6 + * https://www.ti.com/lit/ds/symlink/dac7311.pdf 7 7 */ 8 8 9 9 #include <linux/iio/iio.h>
+1 -1
drivers/iio/health/afe4403.c
··· 2 2 /* 3 3 * AFE4403 Heart Rate Monitors and Low-Cost Pulse Oximeters 4 4 * 5 - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ 5 + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 6 6 * Andrew F. Davis <afd@ti.com> 7 7 */ 8 8
+1 -1
drivers/iio/health/afe4404.c
··· 2 2 /* 3 3 * AFE4404 Heart Rate Monitors and Low-Cost Pulse Oximeters 4 4 * 5 - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ 5 + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 6 6 * Andrew F. Davis <afd@ti.com> 7 7 */ 8 8
+1 -1
drivers/iio/health/afe440x.h
··· 2 2 /* 3 3 * AFE440X Heart Rate Monitors and Low-Cost Pulse Oximeters 4 4 * 5 - * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ 5 + * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/ 6 6 * Andrew F. Davis <afd@ti.com> 7 7 */ 8 8
+5 -5
drivers/iio/humidity/hdc100x.c
··· 6 6 * Author: Matt Ranostay <matt.ranostay@konsulko.com> 7 7 * 8 8 * Datasheets: 9 - * http://www.ti.com/product/HDC1000/datasheet 10 - * http://www.ti.com/product/HDC1008/datasheet 11 - * http://www.ti.com/product/HDC1010/datasheet 12 - * http://www.ti.com/product/HDC1050/datasheet 13 - * http://www.ti.com/product/HDC1080/datasheet 9 + * https://www.ti.com/product/HDC1000/datasheet 10 + * https://www.ti.com/product/HDC1008/datasheet 11 + * https://www.ti.com/product/HDC1010/datasheet 12 + * https://www.ti.com/product/HDC1050/datasheet 13 + * https://www.ti.com/product/HDC1080/datasheet 14 14 */ 15 15 16 16 #include <linux/delay.h>
+1 -1
drivers/iio/light/lv0104cs.c
··· 7 7 * 8 8 * 7-bit I2C slave address: 0x13 9 9 * 10 - * Link to data sheet: http://www.onsemi.com/pub/Collateral/LV0104CS-D.PDF 10 + * Link to data sheet: https://www.onsemi.com/pub/Collateral/LV0104CS-D.PDF 11 11 */ 12 12 13 13 #include <linux/kernel.h>
+1 -1
drivers/iio/light/opt3001.c
··· 2 2 /** 3 3 * opt3001.c - Texas Instruments OPT3001 Light Sensor 4 4 * 5 - * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com 5 + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com 6 6 * 7 7 * Author: Andreas Dannenberg <dannenberg@ti.com> 8 8 * Based on previous work from: Felipe Balbi <balbi@ti.com>
+1 -1
drivers/iio/potentiometer/ad5272.c
··· 3 3 * Analog Devices AD5272 digital potentiometer driver 4 4 * Copyright (C) 2018 Phil Reid <preid@electromag.com.au> 5 5 * 6 - * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5272_5274.pdf 6 + * Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/AD5272_5274.pdf 7 7 * 8 8 * DEVID #Wipers #Positions Resistor Opts (kOhm) i2c address 9 9 * ad5272 1 1024 20, 50, 100 01011xx
+1 -1
drivers/iio/potentiometer/max5481.c
··· 4 4 * Copyright 2016 Rockwell Collins 5 5 * 6 6 * Datasheet: 7 - * http://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdf 7 + * https://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdf 8 8 */ 9 9 10 10 #include <linux/acpi.h>
+1 -1
drivers/iio/potentiometer/mcp41010.c
··· 5 5 * Copyright (c) 2018 Chris Coffey <cmc@babblebit.net> 6 6 * Based on: Slawomir Stepien's code from mcp4131.c 7 7 * 8 - * Datasheet: http://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf 8 + * Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf 9 9 * 10 10 * DEVID #Wipers #Positions Resistance (kOhm) 11 11 * mcp41010 1 256 10
+1 -1
drivers/iio/potentiometer/mcp4131.c
··· 5 5 * Copyright (c) 2016 Slawomir Stepien 6 6 * Based on: Peter Rosin's code from mcp4531.c 7 7 * 8 - * Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf 8 + * Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf 9 9 * 10 10 * DEVID #Wipers #Positions Resistor Opts (kOhm) 11 11 * mcp4131 1 129 5, 10, 50, 100
+1 -1
drivers/iio/pressure/dlhl60d.c
··· 5 5 * Copyright (c) 2019 AVL DiTEST GmbH 6 6 * Tomislav Denis <tomislav.denis@avl.com> 7 7 * 8 - * Datasheet: http://www.allsensors.com/cad/DS-0355_Rev_B.PDF 8 + * Datasheet: https://www.allsensors.com/cad/DS-0355_Rev_B.PDF 9 9 */ 10 10 11 11 #include <linux/module.h>
+1 -1
drivers/iio/proximity/srf04.c
··· 5 5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de> 6 6 * 7 7 * For details about the device see: 8 - * http://www.robot-electronics.co.uk/htm/srf04tech.htm 8 + * https://www.robot-electronics.co.uk/htm/srf04tech.htm 9 9 * 10 10 * the measurement cycle as timing diagram looks like: 11 11 *
+3 -3
drivers/iio/proximity/srf08.c
··· 7 7 * Copyright (c) 2016, 2017 Andreas Klinger <ak@it-klinger.de> 8 8 * 9 9 * For details about the device see: 10 - * http://www.robot-electronics.co.uk/htm/srf08tech.html 11 - * http://www.robot-electronics.co.uk/htm/srf10tech.htm 12 - * http://www.robot-electronics.co.uk/htm/srf02tech.htm 10 + * https://www.robot-electronics.co.uk/htm/srf08tech.html 11 + * https://www.robot-electronics.co.uk/htm/srf10tech.htm 12 + * https://www.robot-electronics.co.uk/htm/srf02tech.htm 13 13 */ 14 14 15 15 #include <linux/err.h>