Re: [PATCH v3] gpio:amdpt:add new device ID and 24-pin support

From: Andy Shevchenko
Date: Thu Dec 09 2021 - 06:19:33 EST


On Thu, Dec 09, 2021 at 10:26:05AM +0800, Yuchang Hsu wrote:
> From: Hsu Yuchang <Richard_Hsu@xxxxxxxxxxxxxx>

Thanks for v3, my comments below.

As I pointed out the subject should be

gpio: amdpt: add new device ID and 24-pin support

(mind the white spaces).

> This patch add an ACPI HID(AMDIF031) and pin number in the pt_gpio_acpi_match.

As Submitting Patches documentation advises the description should be in
imperative form:

Add an ACPI HID(AMDIF031) and pin number in the pt_gpio_acpi_match.

> And we retrieve pin number by device_get_match_data().
>
> Signed-off-by: Yuchang Hsu <Richard_Hsu@xxxxxxxxxxxxxx>

> --- Add AMDIF031 support

After cutter '--- ' line means _after_, and not on the same line.
The changelog contents should explain the changes in the patch versions,
and not the changes which is done in the patch against the code base, for
the latter the commit message suffices.

Look at the plenty of the examples you may find in the mail archive:
https://lore.kernel.org/linux-gpio/.

--
With Best Regards,
Andy Shevchenko