summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-05-27 12:27:47 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-05-27 14:51:29 +0300
commit56813b244e5f2ace887f04c4a69a2a0041992297 (patch)
treea19c7053bcf44aa8d4e29551aba24c8bc661eb93 /drivers/w1
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
downloadlinux-56813b244e5f2ace887f04c4a69a2a0041992297.tar.xz
w1: Add missing newline and fix typos in w1_bus_master comment
- Add missing newline before @return - s/bytes/byte/ - s/handles/handle/ - s/exists/exist/ in dev_info() message Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240527092746.263038-2-thorsten.blum@toblux.com [krzysztof: squash "w1: Fix typo in dev_info() message"] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index afb1cc4606c5..d82e86d3ddf6 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -504,7 +504,7 @@ static ssize_t w1_master_attribute_store_remove(struct device *dev,
if (result == 0)
result = count;
} else {
- dev_info(dev, "Device %02x-%012llx doesn't exists\n", rn.family,
+ dev_info(dev, "Device %02x-%012llx doesn't exist\n", rn.family,
(unsigned long long)rn.id);
result = -EINVAL;
}