X86 platform drivers
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: Rob Herring <robh@kernel.org>,
	Maximilian Luz <luzmaximilian@gmail.com>,
	 Hans de Goede <hansg@kernel.org>,
	 linux-serial <linux-serial@vger.kernel.org>,
	 platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v1 4/4] platform/surface: Migrate to serdev specific shutdown function
Date: Mon, 5 Jan 2026 17:11:32 +0200 (EET)	[thread overview]
Message-ID: <60578bea-2351-2a7d-bb24-2ee2ab5a7bf9@linux.intel.com> (raw)
In-Reply-To: <9682d206a1f375cd98e7dbfce4f1a83b4b345178.1765526117.git.u.kleine-koenig@baylibre.com>

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

On Fri, 12 Dec 2025, Uwe Kleine-König wrote:

> The motivation is stop using the callback .shutdown in
> qca_serdev_driver.driver to make it possible to drop that.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>

In case somebody wants to take the entire series,

Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

-- 
 i.


> ---
>  drivers/platform/surface/aggregator/core.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/platform/surface/aggregator/core.c b/drivers/platform/surface/aggregator/core.c
> index c58e1fdd1a5f..860702c4266f 100644
> --- a/drivers/platform/surface/aggregator/core.c
> +++ b/drivers/platform/surface/aggregator/core.c
> @@ -380,9 +380,9 @@ static int ssam_serdev_setup(struct acpi_device *ssh, struct serdev_device *serd
>  
>  /* -- Power management. ----------------------------------------------------- */
>  
> -static void ssam_serial_hub_shutdown(struct device *dev)
> +static void ssam_serial_hub_shutdown(struct serdev_device *serdev)
>  {
> -	struct ssam_controller *c = dev_get_drvdata(dev);
> +	struct ssam_controller *c = dev_get_drvdata(&serdev->dev);
>  	int status;
>  
>  	/*
> @@ -834,12 +834,12 @@ MODULE_DEVICE_TABLE(of, ssam_serial_hub_of_match);
>  static struct serdev_device_driver ssam_serial_hub = {
>  	.probe = ssam_serial_hub_probe,
>  	.remove = ssam_serial_hub_remove,
> +	.shutdown = ssam_serial_hub_shutdown,
>  	.driver = {
>  		.name = "surface_serial_hub",
>  		.acpi_match_table = ACPI_PTR(ssam_serial_hub_acpi_match),
>  		.of_match_table = of_match_ptr(ssam_serial_hub_of_match),
>  		.pm = &ssam_serial_hub_pm_ops,
> -		.shutdown = ssam_serial_hub_shutdown,
>  		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
>  	},
>  };
> 

      reply	other threads:[~2026-01-05 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12  8:09 [PATCH v1 0/4] serdev: Stop using device_driver callbacks Uwe Kleine-König
2025-12-12  8:09 ` [PATCH v1 1/4] serdev: Provide a bustype shutdown function Uwe Kleine-König
2025-12-12  8:09 ` [PATCH v1 4/4] platform/surface: Migrate to serdev specific " Uwe Kleine-König
2026-01-05 15:11   ` Ilpo Järvinen [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=60578bea-2351-2a7d-bb24-2ee2ab5a7bf9@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=luzmaximilian@gmail.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=u.kleine-koenig@baylibre.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