All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: dlemoal@kernel.org, linux-ide@vger.kernel.org,
	Li Jun <lijun01@kylinos.cn>
Subject: Re: [PATCH v5] ata: ahci_da850: switch to DEFINE_SIMPLE_DEV_PM_OPS
Date: Tue, 8 Sep 2026 13:43:09 +0200	[thread overview]
Message-ID: <ap_0zYrdl9CYR1Fq@ryzen> (raw)
In-Reply-To: <178886739269.2568643.10668122871048248753.b4-ty@kernel.org>

On Tue, Sep 08, 2026 at 01:36:53PM +0200, Niklas Cassel wrote:
> On Tue, 08 Sep 2026 17:49:01 +0800, Li Jun wrote:
> > Replace the deprecated SIMPLE_DEV_PM_OPS macro with the recommended
> > DEFINE_SIMPLE_DEV_PM_OPS. Use pm_ptr(&ahci_da850_pm_ops) to complete
> > the API migration and allow the structure to be correctly dropped
> > when CONFIG_PM=n.

CONFIG_PM_SLEEP=n.
(i.e. you can have CONFIG_PM=y and CONFIG_PM_SLEEP=n and the callbacks will
still be dropped).

Repushed it with the fixed up commit message:
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/commit/?id=f091e60fc986eb12ff632f682848b88da824bccb


Kind regards,
Niklas

      reply	other threads:[~2026-09-08 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  9:49 [PATCH v5] ata: ahci_da850: switch to DEFINE_SIMPLE_DEV_PM_OPS Li Jun
2026-09-08 11:36 ` Niklas Cassel
2026-09-08 11:43   ` Niklas Cassel [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=ap_0zYrdl9CYR1Fq@ryzen \
    --to=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=lijun01@kylinos.cn \
    --cc=linux-ide@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.