The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Pengpeng Hou <hppiscas@163.com>
Cc: mfd@lists.linux.dev, linux-kernel@vger.kernel.org,
	Aaron Kling <webgeek1234@gmail.com>
Subject: Re: [PATCH v2] mfd: max77620: publish module aliases with variant match data
Date: Thu, 3 Dec 2026 08:21:01 +0000	[thread overview]
Message-ID: <20261203082101.GJ98551@kernel.org> (raw)
In-Reply-To: <20261203032653.54714-1-hppiscas@163.com>

On Thu, 03 Dec 2026, Pengpeng Hou wrote:

> Hi Lee,
> 
> You're right: the array only provided addresses for enum values. It
> isn't needed to describe the variants. MAX77620 is currently zero,
> so treating a NULL match-data pointer as an unknown chip would also
> reject MAX77620 if the IDs were cast directly. For a revision I'd
> reserve zero for no match after checking users of the enum, and use
> the same nonzero IDs for the OF and I2C entries.
> 
> I'd use .name and .driver_data in the I2C table and capitalize
> "Publish" in the subject. On the registration point, MFD_MAX77620
> is tristate, but builtin_i2c_driver() doesn't supply an unregister
> exit path. Publishing an alias is about loading the driver; it
> doesn't make removal safe. I wouldn't switch registration macros
> as part of this change.

Can you please quote your replies.  Reading through them without context
is near impossible.  By all means snip the parts that aren't relevant,
but please don't snip everything.  Thanks.

-- 
Lee Jones

      reply	other threads:[~2026-12-03  8:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14  3:21 [PATCH v2] mfd: max77620: publish module aliases with variant match data Pengpeng Hou
2026-10-14 14:00 ` Lee Jones
2026-12-03  3:26   ` Pengpeng Hou
2026-12-03  8:21     ` Lee Jones [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=20261203082101.GJ98551@kernel.org \
    --to=lee@kernel.org \
    --cc=hppiscas@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=webgeek1234@gmail.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