Skip to content

Commit 64dce81

Browse files
Wolfram Sangcminyard
authored andcommitted
ipmi: docs: don't advertise deprecated sysfs entries
"i2c-adapter" class entries are deprecated since 2009. Switch to the proper location. Reported-by: Heiner Kallweit <hkallweit1@gmail.com> Closes: https://lore.kernel.org/r/80c4a898-5867-4162-ac85-bdf7c7c68746@gmail.com Fixes: 2593070 ("ipmi: Add SMBus interface driver (SSIF)") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Message-Id: <20240901090211.3797-2-wsa+renesas@sang-engineering.com> Signed-off-by: Corey Minyard <corey@minyard.net>
1 parent 88f65f9 commit 64dce81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/driver-api/ipmi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ at module load time (for a module) with::
540540
alerts_broken
541541

542542
The addresses are normal I2C addresses. The adapter is the string
543-
name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name.
543+
name of the adapter, as shown in /sys/bus/i2c/devices/i2c-<n>/name.
544544
It is *NOT* i2c-<n> itself. Also, the comparison is done ignoring
545545
spaces, so if the name is "This is an I2C chip" you can say
546546
adapter_name=ThisisanI2cchip. This is because it's hard to pass in

0 commit comments

Comments
 (0)