Documentation: i2c: Document that client auto-detection is a legacy mechanism
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 4 Mar 2024 20:44:21 +0000 (21:44 +0100)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 7 Mar 2024 08:42:09 +0000 (09:42 +0100)
commit68a04aeebefa7f53f001d69e8595a5c1c4565417
tree59ddb117504b91d14fad5e9921c3a144589645ab
parentf311507c5336ad6b9ca7687c35c3bd7a4fe2868c
Documentation: i2c: Document that client auto-detection is a legacy mechanism

Class-based client auto-detection has been considered a legacy mechanism
for 10 yrs now. See commit 0c176170089c ("i2c: add deprecation warning
for class based instantiation"). Change the documentation of how to
write an i2c client accordingly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Documentation/i2c/writing-clients.rst