]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
clk: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 18 Sep 2024 12:31:51 +0000 (14:31 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 9 Oct 2024 23:01:40 +0000 (16:01 -0700)
commitaf6bfa97ae3dce9483d4bbeda0a2c42f6d2a14a8
tree8f11511a80ee9d228aac534614dc6151a8c7adbf
parent8fcad5ff78baf7524bb4b46bda4160b5ccc2d2b0
clk: Drop explicit initialization of struct i2c_device_id::driver_data to 0

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>
Link: https://lore.kernel.org/r/20240918123150.1540161-9-u.kleine-koenig@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-cdce706.c
drivers/clk/clk-si514.c