From: Matthias Brugger <matthias.bgg@gmail.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
broonie@kernel.org
Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com,
trevor.wu@mediatek.com, amergnat@baylibre.com,
dan.carpenter@linaro.org, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, kernel@collabora.com
Subject: Re: [PATCH 1/5] ASoC: mediatek: mt8188-mt6359: Compress of_device_id entries
Date: Thu, 8 Jun 2023 18:48:15 +0200 [thread overview]
Message-ID: <b7a19bb7-94e9-4837-c1dd-0ca891995efb@gmail.com> (raw)
In-Reply-To: <20230608084727.74403-2-angelogioacchino.delregno@collabora.com>
On 08/06/2023 10:47, AngeloGioacchino Del Regno wrote:
> Those entries fit in one line: compress them to reduce line count.
> While at it, also add the sentinel comment to the last entry.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
> ---
> sound/soc/mediatek/mt8188/mt8188-mt6359.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
>
> diff --git a/sound/soc/mediatek/mt8188/mt8188-mt6359.c b/sound/soc/mediatek/mt8188/mt8188-mt6359.c
> index bc4b74970a46..643a7a12a96b 100644
> --- a/sound/soc/mediatek/mt8188/mt8188-mt6359.c
> +++ b/sound/soc/mediatek/mt8188/mt8188-mt6359.c
> @@ -1117,15 +1117,9 @@ static struct mt8188_card_data mt8188_nau8825_card = {
> };
>
> static const struct of_device_id mt8188_mt6359_dt_match[] = {
> - {
> - .compatible = "mediatek,mt8188-mt6359-evb",
> - .data = &mt8188_evb_card,
> - },
> - {
> - .compatible = "mediatek,mt8188-nau8825",
> - .data = &mt8188_nau8825_card,
> - },
> - {},
> + { .compatible = "mediatek,mt8188-mt6359-evb", .data = &mt8188_evb_card, },
> + { .compatible = "mediatek,mt8188-nau8825", .data = &mt8188_nau8825_card, },
> + { /* sentinel */ },
> };
> MODULE_DEVICE_TABLE(of, mt8188_mt6359_dt_match);
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-06-08 16:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 8:47 [PATCH 0/5] ASoC: mt8188-mt6359: Cleanups AngeloGioacchino Del Regno
2023-06-08 8:47 ` [PATCH 1/5] ASoC: mediatek: mt8188-mt6359: Compress of_device_id entries AngeloGioacchino Del Regno
2023-06-08 9:31 ` Alexandre Mergnat
2023-06-08 16:48 ` Matthias Brugger [this message]
2023-06-08 8:47 ` [PATCH 2/5] ASoC: mediatek: mt8188-mt6359: clean up a return in codec_init AngeloGioacchino Del Regno
2023-06-08 9:32 ` Alexandre Mergnat
2023-06-08 16:48 ` Matthias Brugger
2023-06-08 8:47 ` [PATCH 3/5] ASoC: mediatek: mt8188-mt6359: Cleanup return 0 disguised as return ret AngeloGioacchino Del Regno
2023-06-08 9:33 ` Alexandre Mergnat
2023-06-08 16:49 ` Matthias Brugger
2023-06-08 8:47 ` [PATCH 4/5] ASoC: mediatek: mt8188-mt6359: Clean up log levels AngeloGioacchino Del Regno
2023-06-08 9:34 ` Alexandre Mergnat
2023-06-08 8:47 ` [PATCH 5/5] ASoC: mediatek: mt8188-mt6359: Use bitfield macros for registers AngeloGioacchino Del Regno
2023-06-08 9:50 ` Alexandre Mergnat
2023-06-08 9:57 ` AngeloGioacchino Del Regno
2023-06-08 10:00 ` Alexandre Mergnat
2023-06-08 10:03 ` Trevor Wu (吳文良)
2023-06-08 10:07 ` AngeloGioacchino Del Regno
2023-06-08 11:02 ` Trevor Wu (吳文良)
2023-06-08 11:20 ` AngeloGioacchino Del Regno
2023-06-08 15:18 ` [PATCH 0/5] ASoC: mt8188-mt6359: Cleanups Mark Brown
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=b7a19bb7-94e9-4837-c1dd-0ca891995efb@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=broonie@kernel.org \
--cc=dan.carpenter@linaro.org \
--cc=kernel@collabora.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=trevor.wu@mediatek.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;
as well as URLs for NNTP newsgroup(s).