[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171221123809.40311490@lwn.net>
Date: Thu, 21 Dec 2017 12:38:09 -0700
From: Jonathan Corbet <corbet@....net>
To: "Cengiz C." <cengizc@...il.com>
Cc: Wolfram Sang <wsa@...-dreams.de>, linux-i2c@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] i2c: update i2c-dev.h warning in documentation
On Tue, 12 Dec 2017 19:43:09 +0300
"Cengiz C." <cengizc@...il.com> wrote:
> `Documentation/i2c/dev-interface` gives examples for accessing i2c from
> userspace.
>
> There's a note that warns developers about the two `i2c-dev.h` header
> files which were shipped with the kernel and i2c-tools separately.
>
> However, following i2c-tools commits suggest that the header files are now
> identical (in functionality) and `i2c_*` helper functions are now defined
> in a separate header called `i2c/smbus.h`, which is distributed with
> i2c-tools:
>
> commit 652619121974 ("Minimize differences with kernel flavor")
> commit 93caf007f4cb ("Move SMBus helper functions to include/i2c/smbus.h")
>
> Thus, I've converted the warning paragraph into a historical note and
> updated the suggested header files.
>
> Signed-off-by: Cengiz Can <cengizc@...il.com>
Applied to the docs tree, thanks. Note that the patch was wrapped by your
mailer and I had to fix it up; that would be nice to avoid in the future.
Thanks,
jon
Powered by blists - more mailing lists