Re: [PATCH] Fixed typo in onewire generic doc

From: Evgeniy Polyakov
Date: Sun Apr 08 2018 - 20:04:03 EST


Hi everyone

I'm really sorry for that long delay.

Was this patch accepted or should I push it upstream?

20.12.2017, 22:09, "Gergo Huszty" <huszty.gergo@xxxxxxxxxxxxxx>:
> Onewire devices has 6 byte long unique serial numbers, 1 byte family
> code and 1 byte CRC. Linux sysfs presents the device folder in the
> form of familyID-deviceID, so CRC is not shown. The consequence is
> that the device serial number is always a 12 long hex-string, but
> doc says 13 in one place. This is corrected by this change.
> Reference: https://en.wikipedia.org/wiki/1-Wire
>
> Signed-off-by: Gergo Huszty <huszty.gergo@xxxxxxxxxxxxxx>
> ---
> ÂDocumentation/w1/w1.generic | 2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/w1/w1.generic b/Documentation/w1/w1.generic
> index b3ffaf8cfab2..c51b1ab012d0 100644
> --- a/Documentation/w1/w1.generic
> +++ b/Documentation/w1/w1.generic
> @@ -76,7 +76,7 @@ See struct w1_bus_master definition in w1.h for details.
>
> Âw1 master sysfs interface
> Â------------------------------------------------------------------
> -<xx-xxxxxxxxxxxxx> - A directory for a found device. The format is family-serial
> +<xx-xxxxxxxxxxxx> - A directory for a found device. The format is family-serial
> Âbus - (standard) symlink to the w1 bus
> Âdriver - (standard) symlink to the w1 driver
> Âw1_master_add - (rw) manually register a slave device
> --
> 2.15.1