]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: Drop unused assignment of platform_device_id driver data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Thu, 28 May 2026 06:48:10 +0000 (08:48 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 22 Jun 2026 00:22:42 +0000 (02:22 +0200)
commitba5dca876b54c848fe4ba6526454a6eed7856f57
tree80c55bb8a094e27db55315ec34a3eed7472d4eba
parent3eebec1cb5dc1abd9d0b6a97a752800bf1a4e035
rtc: Drop unused assignment of platform_device_id driver data

The two drivers explicitly set the .driver_data member of struct
platform_device_id to zero without relying on that value. Drop this
unused assignments.

While touching these array unify spacing, usage of commas and use named
initializers for .name.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://patch.msgid.link/9ec7a174605a17dd19c011ee2253de28d09b02bd.1779950275.git.u.kleine-koenig@baylibre.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-cros-ec.c
drivers/rtc/rtc-max8997.c