summaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/ad5272.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-04 21:27:43 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-13 15:05:59 +0100
commit3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e (patch)
treecd39cc287844918a74920f7a67e46135ddc00e6c /drivers/iio/potentiometer/ad5272.c
parent5a6b56de410c8c905bde4295ba8c3d75910aecea (diff)
downloadlinux-3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e.tar.gz
linux-3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e.tar.bz2
linux-3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e.zip
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>
Diffstat (limited to 'drivers/iio/potentiometer/ad5272.c')
-rw-r--r--drivers/iio/potentiometer/ad5272.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/ad5272.c b/drivers/iio/potentiometer/ad5272.c
index 08a15e505ed6..933afcf7e925 100644
--- a/drivers/iio/potentiometer/ad5272.c
+++ b/drivers/iio/potentiometer/ad5272.c
@@ -3,7 +3,7 @@
* Analog Devices AD5272 digital potentiometer driver
* Copyright (C) 2018 Phil Reid <preid@electromag.com.au>
*
- * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5272_5274.pdf
+ * Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/AD5272_5274.pdf
*
* DEVID #Wipers #Positions Resistor Opts (kOhm) i2c address
* ad5272 1 1024 20, 50, 100 01011xx