From: Stephen Boyd <sboyd@kernel.org>
To: "Michael Turquette" <mturquette@baylibre.com>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: Drop explicit initialization of struct i2c_device_id::driver_data to 0
Date: Wed, 09 Oct 2024 16:01:45 -0700 [thread overview]
Message-ID: <b8f0036b3775c49ec10c949c1ddb3ceb.sboyd@kernel.org> (raw)
In-Reply-To: <20240918123150.1540161-9-u.kleine-koenig@baylibre.com>
Quoting Uwe Kleine-König (2024-09-18 05:31:51)
> These drivers don't use the driver_data member of struct i2c_device_id,
> so don't explicitly initialize this member.
>
> This prepares putting driver_data in an anonymous union which requires
> either no initialization or named designators. But it's also a nice
> cleanup on its own.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
Applied to clk-next
prev parent reply other threads:[~2024-10-09 23:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 12:31 [PATCH] clk: Drop explicit initialization of struct i2c_device_id::driver_data to 0 Uwe Kleine-König
2024-10-09 23:01 ` Stephen Boyd [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=b8f0036b3775c49ec10c949c1ddb3ceb.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=jcmvbkbc@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--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