lkml.org 
[lkml]   [2020]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 24/26] docs: i2c: old-module-parameters: clarify this is for obsolete kernels
On Mon,  6 Jan 2020 08:46:39 +0100, Luca Ceresoli wrote:
> This section applies only to code for very old kernels. Avoid people
> reading this unnecessarily.
>
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
> Documentation/i2c/old-module-parameters.rst | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/i2c/old-module-parameters.rst b/Documentation/i2c/old-module-parameters.rst
> index 0503d2f0b127..80fb117883fd 100644
> --- a/Documentation/i2c/old-module-parameters.rst
> +++ b/Documentation/i2c/old-module-parameters.rst
> @@ -2,6 +2,11 @@
> I2C device driver binding control from user-space
> =================================================
>
> +.. NOTE::
> + Note: this section is only relevant if you are handling some old code
> + found in kernel 2.6. If you work with more recent kernels, you can
> + safely skip this section.
> +
> Up to kernel 2.6.32, many I2C drivers used helper macros provided by
> <linux/i2c.h> which created standard module parameters to let the user
> control how the driver would probe I2C buses and attach to devices. These

Reviewed-by: Jean Delvare <jdelvare@suse.de>


--
Jean Delvare
SUSE L3 Support

\
 
 \ /
  Last update: 2020-01-22 12:19    [W:0.418 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site