]> Git Repo - linux.git/commit - drivers/input/rmi4/rmi_i2c.c
Input: drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <[email protected]>
Thu, 9 May 2024 17:41:59 +0000 (19:41 +0200)
committerDmitry Torokhov <[email protected]>
Mon, 13 May 2024 22:43:19 +0000 (15:43 -0700)
commit5852f2afcdd9b7c9dedec4fdf14b8b079349828f
treeb355b9fd34eb11d82b255bbaab343ca243b2f8f4
parentadb2e48afc352fb00357e158be006296f220347e
Input: 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.

While add it, also remove commas after the sentinel entries.

Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
64 files changed:
drivers/input/joystick/as5011.c
drivers/input/joystick/qwiic-joystick.c
drivers/input/keyboard/adp5588-keys.c
drivers/input/keyboard/cypress-sf.c
drivers/input/keyboard/dlink-dir685-touchkeys.c
drivers/input/keyboard/lm8323.c
drivers/input/keyboard/lm8333.c
drivers/input/keyboard/max7359_keypad.c
drivers/input/keyboard/mpr121_touchkey.c
drivers/input/keyboard/qt1070.c
drivers/input/keyboard/qt2160.c
drivers/input/keyboard/tm2-touchkey.c
drivers/input/misc/ad714x-i2c.c
drivers/input/misc/adxl34x-i2c.c
drivers/input/misc/apanel.c
drivers/input/misc/atmel_captouch.c
drivers/input/misc/bma150.c
drivers/input/misc/cma3000_d0x_i2c.c
drivers/input/misc/drv260x.c
drivers/input/misc/drv2665.c
drivers/input/misc/drv2667.c
drivers/input/misc/kxtj9.c
drivers/input/misc/mma8450.c
drivers/input/misc/pcf8574_keypad.c
drivers/input/mouse/cyapa.c
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/synaptics_i2c.c
drivers/input/rmi4/rmi_i2c.c
drivers/input/rmi4/rmi_smbus.c
drivers/input/touchscreen/ad7879-i2c.c
drivers/input/touchscreen/ar1021_i2c.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/input/touchscreen/auo-pixcir-ts.c
drivers/input/touchscreen/bu21013_ts.c
drivers/input/touchscreen/bu21029_ts.c
drivers/input/touchscreen/cy8ctma140.c
drivers/input/touchscreen/cyttsp4_i2c.c
drivers/input/touchscreen/cyttsp5.c
drivers/input/touchscreen/cyttsp_i2c.c
drivers/input/touchscreen/eeti_ts.c
drivers/input/touchscreen/egalax_ts.c
drivers/input/touchscreen/ektf2127.c
drivers/input/touchscreen/goodix.c
drivers/input/touchscreen/goodix_berlin_i2c.c
drivers/input/touchscreen/hideep.c
drivers/input/touchscreen/himax_hx83112b.c
drivers/input/touchscreen/ilitek_ts_i2c.c
drivers/input/touchscreen/max11801_ts.c
drivers/input/touchscreen/mcs5000_ts.c
drivers/input/touchscreen/melfas_mip4.c
drivers/input/touchscreen/migor_ts.c
drivers/input/touchscreen/mms114.c
drivers/input/touchscreen/raydium_i2c_ts.c
drivers/input/touchscreen/rohm_bu21023.c
drivers/input/touchscreen/s6sy761.c
drivers/input/touchscreen/silead.c
drivers/input/touchscreen/sis_i2c.c
drivers/input/touchscreen/stmfts.c
drivers/input/touchscreen/tsc2004.c
drivers/input/touchscreen/tsc2007_core.c
drivers/input/touchscreen/wacom_i2c.c
drivers/input/touchscreen/wdt87xx_i2c.c
drivers/input/touchscreen/zet6223.c
drivers/input/touchscreen/zforce_ts.c
This page took 0.082574 seconds and 4 git commands to generate.