All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: Niklas Cassel <cassel@kernel.org>
Cc: Li Jun <lijun01@kylinos.cn>, linux-ide@vger.kernel.org
Subject: Re: [PATCH v3] ata: ahci_da850: switch to DEFINE_SIMPLE_DEV_PM_OPS
Date: Tue, 8 Sep 2026 18:04:32 +0900	[thread overview]
Message-ID: <ee7fe885-9ccd-44b3-9f5a-4ec14e2b76b2@kernel.org> (raw)
In-Reply-To: <ap_LL-EaGZUmCaaq@ryzen>

On 9/8/26 17:45, Niklas Cassel wrote:
> On Tue, Sep 08, 2026 at 03:13:49PM +0900, Damien Le Moal wrote:
>> On 9/8/26 15:10, 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.
>>>
>>> Signed-off-by: Li Jun <lijun01@kylinos.cn>
>>> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
>>> ---
>>> changelogs:
>>> -add pm_ptr for ahci_da850_pm_ops in ahci_da850_driver.
>>> -revise grammar and alignment issues.
>>> ---
>>>  drivers/ata/ahci_da850.c | 6 +++---
>>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/drivers/ata/ahci_da850.c b/drivers/ata/ahci_da850.c
>>> index 4e53ff96d712..469cf015bbf0 100644
>>> --- a/drivers/ata/ahci_da850.c
>>> +++ b/drivers/ata/ahci_da850.c
>>> @@ -218,8 +218,8 @@ static int ahci_da850_probe(struct platform_device *pdev)
>>>  	return rc;
>>>  }
>>>  
>>> -static SIMPLE_DEV_PM_OPS(ahci_da850_pm_ops, ahci_platform_suspend,
>>> -			 ahci_platform_resume);
>>> +static DEFINE_SIMPLE_DEV_PM_OPS(ahci_da850_pm_ops, ahci_platform_suspend,
>>> +								ahci_platform_resume);
>>
>> You resent the same v3... Did you mean to send a fixed v4? Or is it me for some
>> reason getting the same patch email twice?
> 
> I just received a single v2 and a single v3.

Indeed, I missed v3 in the email subject.

> 
> The commit log is different from v2 and v3, and your Review-tag was picked
> up. However, the indentation still looks wrong. It seems to have 8 tabs
> instead of 4.

And yes, the indentation is still wrong.
Maybe fix it when applying?

> 
> 
> Kind regards,
> Niklas


-- 
Damien Le Moal
Western Digital Research

  reply	other threads:[~2026-09-08  9:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  6:10 [PATCH v3] ata: ahci_da850: switch to DEFINE_SIMPLE_DEV_PM_OPS Li Jun
2026-09-08  6:13 ` Damien Le Moal
2026-09-08  8:45   ` Niklas Cassel
2026-09-08  9:04     ` Damien Le Moal [this message]
2026-09-08  6:20 ` sashiko-bot

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=ee7fe885-9ccd-44b3-9f5a-4ec14e2b76b2@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=cassel@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.