linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Corey Minyard <corey@minyard.net>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-i2c@vger.kernel.org, Heiner Kallweit <hkallweit1@gmail.com>,
	Corey Minyard <minyard@acm.org>, Jonathan Corbet <corbet@lwn.net>,
	openipmi-developer@lists.sourceforge.net,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH] ipmi: docs: don't advertise deprecated sysfs entries
Date: Sun, 1 Sep 2024 14:36:28 -0500	[thread overview]
Message-ID: <ZtTCPPZSzVZMZiqf@mail.minyard.net> (raw)
In-Reply-To: <20240901090211.3797-2-wsa+renesas@sang-engineering.com>

On Sun, Sep 01, 2024 at 11:02:11AM +0200, Wolfram Sang wrote:
> "i2c-adapter" class entries are deprecated since 2009. Switch to the
> proper location.

Thanks, in my queue.

-corey

> 
> Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
> Closes: https://lore.kernel.org/r/80c4a898-5867-4162-ac85-bdf7c7c68746@gmail.com
> Fixes: 259307074bfc ("ipmi: Add SMBus interface driver (SSIF)")
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>  Documentation/driver-api/ipmi.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/driver-api/ipmi.rst b/Documentation/driver-api/ipmi.rst
> index e224e47b6b09..dfa021eacd63 100644
> --- a/Documentation/driver-api/ipmi.rst
> +++ b/Documentation/driver-api/ipmi.rst
> @@ -540,7 +540,7 @@ at module load time (for a module) with::
>  	alerts_broken
>  
>  The addresses are normal I2C addresses.  The adapter is the string
> -name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name.
> +name of the adapter, as shown in /sys/bus/i2c/devices/i2c-<n>/name.
>  It is *NOT* i2c-<n> itself.  Also, the comparison is done ignoring
>  spaces, so if the name is "This is an I2C chip" you can say
>  adapter_name=ThisisanI2cchip.  This is because it's hard to pass in
> -- 
> 2.43.0
> 

      reply	other threads:[~2024-09-01 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01  9:02 [PATCH] ipmi: docs: don't advertise deprecated sysfs entries Wolfram Sang
2024-09-01 19:36 ` Corey Minyard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZtTCPPZSzVZMZiqf@mail.minyard.net \
    --to=corey@minyard.net \
    --cc=corbet@lwn.net \
    --cc=hkallweit1@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=minyard@acm.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).