[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200129151953.31582-25-luca@lucaceresoli.net>
Date: Wed, 29 Jan 2020 16:19:49 +0100
From: Luca Ceresoli <luca@...aceresoli.net>
To: linux-i2c@...r.kernel.org, linux-doc@...r.kernel.org
Cc: Luca Ceresoli <luca@...aceresoli.net>,
Wolfram Sang <wsa@...-dreams.de>,
Jean Delvare <jdelvare@...e.de>, Peter Rosin <peda@...ntia.se>,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 24/28] docs: i2c: old-module-parameters: clarify this is for obsolete kernels
This section applies only to code for very old kernels. Avoid people
reading this unnecessarily.
Signed-off-by: Luca Ceresoli <luca@...aceresoli.net>
Reviewed-by: Jean Delvare <jdelvare@...e.de>
---
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 1a18e2b0f593..92a403d21a62 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
--
2.25.0
Powered by blists - more mailing lists