All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@infradead.org>
To: "Maxime Bellengé" <maxime.bellenge@gmail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>,
	Andy Shevchenko <andy@infradead.org>,
	acpi4asus-user@lists.sourceforge.net,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Asus WMI : Add lightbar led support
Date: Wed, 27 Sep 2017 00:28:21 -0700	[thread overview]
Message-ID: <20170927072821.GA19973@fury> (raw)
In-Reply-To: <20170923162337.2748-1-maxime.bellenge@gmail.com>

On Sat, Sep 23, 2017 at 06:23:37PM +0200, Maxime Bellengé wrote:

Hi Maxime,

Thanks for the update. The patch has been applied and is queued for
testing.

In the future, please take note of the following comments - which I have
addressed in the patch.

The commit subject format:

platform/x86: <driver>: Subject

Whenever submitting to the Linux kernel, please take note of the format
used in previous (especially recent) commits to the same and adjacent files.

> Some asus laptops (ROG series for example) are provided
> with a lightbar behind the monitor.
> This patch make possible to switch it on and off.
> This lightbar works exactly as any other led.

Wrap at 72 characters or so in paragraph form.

> 
> V2 : fix whitespaces and typo

Patch revision history goes below the --- line below (see the submitting
patches documentation for details). This ensures it is automatically
dropped during the patch application process and avoids the requirement
for manual edits by the maintainers.

> 
> Signed-off-by: Maxime Bellengé <maxime.bellenge@gmail.com>
> ---
>  drivers/platform/x86/asus-wmi.c | 63 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 63 insertions(+)
> 
> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
...
> +static void lightbar_led_update(struct work_struct *work)
> +{
> +	int ctrl_param;
> +	struct asus_wmi *asus;

Declare variables in descending order of line length.

-- 
Darren Hart
VMware Open Source Technology Center

      reply	other threads:[~2017-09-27  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-23 16:23 [PATCH v2] Asus WMI : Add lightbar led support Maxime Bellengé
2017-09-27  7:28 ` Darren Hart [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=20170927072821.GA19973@fury \
    --to=dvhart@infradead.org \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=andy@infradead.org \
    --cc=corentin.chary@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.bellenge@gmail.com \
    --cc=platform-driver-x86@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.