diff options
author | Mariusz Bialonczyk <manio@skyboo.net> | 2019-05-16 14:39:21 +0200 |
---|---|---|
committer | Phil Elwell <phil@raspberrypi.org> | 2019-05-24 19:37:48 +0100 |
commit | 1694cf065778a8508b6dd8ce8ce270ca0e643788 (patch) | |
tree | fa3397db883c7e310818e6a96e8d7bb29ae24b71 /drivers/w1 | |
parent | d2b14d32d3e417e5ef9434bb8ec9f1229035ee2e (diff) | |
download | linux-rpi3-1694cf065778a8508b6dd8ce8ce270ca0e643788.tar.gz linux-rpi3-1694cf065778a8508b6dd8ce8ce270ca0e643788.tar.bz2 linux-rpi3-1694cf065778a8508b6dd8ce8ce270ca0e643788.zip |
w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback)
commit 6660a04feb7ef648e50c792e19084d675fa6f3a2 upstream.
Fix a typo in commit:
49695ac46861 w1: ds2408: reset on output_write retry with readback
Fixes: 49695ac46861 ("w1: ds2408: reset on output_write retry with readback")
Reported-by: Phil Elwell <phil@raspberrypi.org>
Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/slaves/w1_ds2408.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c index 92e8f0755b9a..edf0bc98012c 100644 --- a/drivers/w1/slaves/w1_ds2408.c +++ b/drivers/w1/slaves/w1_ds2408.c @@ -138,7 +138,7 @@ static ssize_t status_control_read(struct file *filp, struct kobject *kobj, W1_F29_REG_CONTROL_AND_STATUS, buf); } -#ifdef fCONFIG_W1_SLAVE_DS2408_READBACK +#ifdef CONFIG_W1_SLAVE_DS2408_READBACK static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) { u8 w1_buf[3]; |