Chrome platform driver development
 help / color / mirror / Atom feed
From: Brian Norris <briannorris@chromium.org>
To: Yuan Can <yuancan@huawei.com>
Cc: tzungbi@kernel.org, jwerner@chromium.org, adurbin@chromium.org,
	furquan@chromium.org, gregkh@linuxfoundation.org,
	rajatja@chromium.org, groeck@chromium.org,
	chrome-platform@lists.linux.dev
Subject: Re: [PATCH] firmware: google: Unregister driver_info on failure
Date: Tue, 15 Oct 2024 14:28:04 -0700	[thread overview]
Message-ID: <Zw7eZG8hx9JRN2HH@google.com> (raw)
In-Reply-To: <20241015131344.20272-1-yuancan@huawei.com>

On Tue, Oct 15, 2024 at 09:13:44PM +0800, Yuan Can wrote:
> When platform_device_register_full() returns error, the gsmi_init() returns
> without unregister gsmi_driver_info, fix by add missing
> platform_driver_unregister() when platform_device_register_full() failed.
> 
> Fixes: 8942b2d5094b ("gsmi: Add GSMI commands to log S0ix info")
> Signed-off-by: Yuan Can <yuancan@huawei.com>

Acked-by: Brian Norris <briannorris@chromium.org>

  parent reply	other threads:[~2024-10-15 21:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-15 13:13 [PATCH] firmware: google: Unregister driver_info on failure Yuan Can
2024-10-15 17:15 ` Greg KH
2024-10-15 21:28 ` Brian Norris [this message]
2024-10-15 22:54 ` Tzung-Bi Shih

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=Zw7eZG8hx9JRN2HH@google.com \
    --to=briannorris@chromium.org \
    --cc=adurbin@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=furquan@chromium.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=groeck@chromium.org \
    --cc=jwerner@chromium.org \
    --cc=rajatja@chromium.org \
    --cc=tzungbi@kernel.org \
    --cc=yuancan@huawei.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