linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
@ 2022-11-18 22:35 Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 191/606] Input: as5011 - Convert to i2c's .probe_new() Uwe Kleine-König
                   ` (84 more replies)
  0 siblings, 85 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:35 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang
  Cc: linux-i2c, kernel, linux-integrity, linux-kernel,
	linux-arm-kernel, linux-crypto, linux-gpio,
	Broadcom internal kernel review list, linux-rpi-kernel,
	linux-iio, linux-input, platform-driver-x86, linux-stm32,
	linux-leds, linuxppc-dev, linux-media, patches, linux-actions,
	linux-renesas-soc, linux-amlogic, alsa-devel, linux-omap,
	linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, Purism Kernel Team, linux-pwm,
	linux-rtc, linux-spi, linux-staging, linux-serial, linux-usb,
	linux-fbdev, linux-watchdog, openipmi-developer

Hello,

since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type") from 2016 there is a "temporary" alternative probe
callback for i2c drivers.

This series completes all drivers to this new callback (unless I missed
something). It's based on current next/master.
A part of the patches depend on commit 662233731d66 ("i2c: core:
Introduce i2c_client_get_device_id helper function"), there is a branch that
you can pull into your tree to get it:

	https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable

I don't think it's feasable to apply this series in one go, so I ask the
maintainers of the changed files to apply via their tree. I guess it
will take a few kernel release iterations until all patch are in, but I
think a single tree creates too much conflicts.

The last patch changes i2c_driver::probe, all non-converted drivers will
fail to compile then. So I hope the build bots will tell me about any
driver I missed to convert. This patch is obviously not for application
now.

I dropped most individuals from the recipents of this mail to not
challenge the mail servers and mailing list filters too much. Sorry if
you had extra efforts to find this mail.

Best regards
Uwe

Uwe Kleine-König (606):
  tpm: st33zp24: Convert to Convert to i2c's .probe_new()
  tpm: tpm_i2c_atmel: Convert to i2c's .probe_new()
  tpm: tpm_i2c_infineon: Convert to i2c's .probe_new()
  tpm: tpm_i2c_nuvoton: Convert to i2c's .probe_new()
  tpm: tis_i2c: Convert to i2c's .probe_new()
  crypto: atmel-ecc - Convert to i2c's .probe_new()
  crypto: atmel-sha204a - Convert to i2c's .probe_new()
  extcon: fsa9480: Convert to i2c's .probe_new()
  extcon: rt8973: Convert to i2c's .probe_new()
  extcon: usbc-tusb320: Convert to i2c's .probe_new()
  gpio: max732x: Convert to i2c's .probe_new()
  gpio: pca953x: Convert to i2c's .probe_new()
  gpio: pcf857x: Convert to i2c's .probe_new()
  drm/bridge: adv7511: Convert to i2c's .probe_new()
  drm/bridge/analogix/anx6345: Convert to i2c's .probe_new()
  drm/bridge/analogix/anx78xx: Convert to i2c's .probe_new()
  drm/bridge: anx7625: Convert to i2c's .probe_new()
  drm/bridge: icn6211: Convert to i2c's .probe_new()
  drm/bridge: chrontel-ch7033: Convert to i2c's .probe_new()
  drm/bridge: it6505: Convert to i2c's .probe_new()
  drm/bridge: it66121: Convert to i2c's .probe_new()
  drm/bridge: lt8912b: Convert to i2c's .probe_new()
  drm/bridge: lt9211: Convert to i2c's .probe_new()
  drm/bridge: lt9611: Convert to i2c's .probe_new()
  drm/bridge: lt9611uxc: Convert to i2c's .probe_new()
  drm/bridge: megachips: Convert to i2c's .probe_new()
  drm/bridge: nxp-ptn3460: Convert to i2c's .probe_new()
  drm/bridge: parade-ps8622: Convert to i2c's .probe_new()
  drm/bridge: sii902x: Convert to i2c's .probe_new()
  drm/bridge: sii9234: Convert to i2c's .probe_new()
  drm/bridge: sii8620: Convert to i2c's .probe_new()
  drm/bridge: tc358767: Convert to i2c's .probe_new()
  drm/bridge: tc358768: Convert to i2c's .probe_new()
  drm/bridge/tc358775: Convert to i2c's .probe_new()
  drm/bridge: ti-sn65dsi83: Convert to i2c's .probe_new()
  drm/bridge: ti-sn65dsi86: Convert to i2c's .probe_new()
  drm/bridge: tfp410: Convert to i2c's .probe_new()
  drm/i2c/ch7006: Convert to i2c's .probe_new()
  drm/i2c/sil164: Convert to i2c's .probe_new()
  drm/i2c/tda9950: Convert to i2c's .probe_new()
  drm/i2c/tda998x: Convert to i2c's .probe_new()
  drm/panel: olimex-lcd-olinuxino: Convert to i2c's .probe_new()
  drm/panel: raspberrypi-touchscreen: Convert to i2c's .probe_new()
  i2c: core: Convert to i2c's .probe_new()
  i2c: slave-eeprom: Convert to i2c's .probe_new()
  i2c: smbus: Convert to i2c's .probe_new()
  i2c: mux: pca9541: Convert to i2c's .probe_new()
  i2c: mux: pca954x: Convert to i2c's .probe_new()
  iio: accel: adxl372_i2c: Convert to i2c's .probe_new()
  iio: accel: bma180: Convert to i2c's .probe_new()
  iio: accel: bma400: Convert to i2c's .probe_new()
  iio: accel: bmc150: Convert to i2c's .probe_new()
  iio: accel: da280: Convert to i2c's .probe_new()
  iio: accel: kxcjk-1013: Convert to i2c's .probe_new()
  iio: accel: mma7455_i2c: Convert to i2c's .probe_new()
  iio: accel: mma8452: Convert to i2c's .probe_new()
  iio: accel: mma9551: Convert to i2c's .probe_new()
  iio: accel: mma9553: Convert to i2c's .probe_new()
  iio: adc: ad7091r5: Convert to i2c's .probe_new()
  iio: adc: ad7291: Convert to i2c's .probe_new()
  iio: adc: ad799x: Convert to i2c's .probe_new()
  iio: adc: ina2xx-adc: Convert to i2c's .probe_new()
  iio: adc: ltc2471: Convert to i2c's .probe_new()
  iio: adc: ltc2485: Convert to i2c's .probe_new()
  iio: adc: ltc2497: Convert to i2c's .probe_new()
  iio: adc: max1363: Convert to i2c's .probe_new()
  iio: adc: max9611: Convert to i2c's .probe_new()
  iio: adc: mcp3422: Convert to i2c's .probe_new()
  iio: adc: ti-adc081c: Convert to i2c's .probe_new()
  iio: adc: ti-ads1015: Convert to i2c's .probe_new()
  iio: cdc: ad7150: Convert to i2c's .probe_new()
  iio: cdc: ad7746: Convert to i2c's .probe_new()
  iio: chemical: ams-iaq-core: Convert to i2c's .probe_new()
  iio: chemical: atlas-ezo-sensor: Convert to i2c's .probe_new()
  iio: chemical: atlas-sensor: Convert to i2c's .probe_new()
  iio: chemical: bme680_i2c: Convert to i2c's .probe_new()
  iio: chemical: ccs811: Convert to i2c's .probe_new()
  iio: chemical: scd4x: Convert to i2c's .probe_new()
  iio: chemical: sgp30: Convert to i2c's .probe_new()
  iio: chemical: sgp40: Convert to i2c's .probe_new()
  iio: chemical: vz89x: Convert to i2c's .probe_new()
  iio: dac: ad5064: Convert to i2c's .probe_new()
  iio: dac: ad5380: Convert to i2c's .probe_new()
  iio: dac: ad5446: Convert to i2c's .probe_new()
  iio: dac: ad5593r: Convert to i2c's .probe_new()
  iio: dac: ad5696-i2c: Convert to i2c's .probe_new()
  iio: dac: ds4424: Convert to i2c's .probe_new()
  iio: dac: m62332: Convert to i2c's .probe_new()
  iio: dac: max517: Convert to i2c's .probe_new()
  iio: dac: max5821: Convert to i2c's .probe_new()
  iio: dac: mcp4725: Convert to i2c's .probe_new()
  iio: dac: ti-dac5571: Convert to i2c's .probe_new()
  iio: gyro: bmg160_i2c: Convert to i2c's .probe_new()
  iio: gyro: itg3200_core: Convert to i2c's .probe_new()
  iio: gyro: mpu3050-i2c: Convert to i2c's .probe_new()
  iio: gyro: st_gyro_i2c: Convert to i2c's .probe_new()
  iio: health: afe4404: Convert to i2c's .probe_new()
  iio: health: max30100: Convert to i2c's .probe_new()
  iio: health: max30102: Convert to i2c's .probe_new()
  iio: humidity: am2315: Convert to i2c's .probe_new()
  iio: humidity: hdc100x: Convert to i2c's .probe_new()
  iio: humidity: hdc2010: Convert to i2c's .probe_new()
  iio: humidity: hts221_i2c: Convert to i2c's .probe_new()
  iio: humidity: htu21: Convert to i2c's .probe_new()
  iio: humidity: si7005: Convert to i2c's .probe_new()
  iio: humidity: si7020: Convert to i2c's .probe_new()
  iio: imu: bmi160/bmi160_i2c: Convert to i2c's .probe_new()
  iio: imu: fxos8700_i2c: Convert to i2c's .probe_new()
  iio: imu: inv_mpu6050: Convert to i2c's .probe_new()
  iio: imu: kmx61: Convert to i2c's .probe_new()
  iio: imu: st_lsm6dsx: Convert to i2c's .probe_new()
  iio: light: adjd_s311: Convert to i2c's .probe_new()
  iio: light: adux1020: Convert to i2c's .probe_new()
  iio: light: al3010: Convert to i2c's .probe_new()
  iio: light: al3320a: Convert to i2c's .probe_new()
  iio: light: apds9300: Convert to i2c's .probe_new()
  iio: light: apds9960: Convert to i2c's .probe_new()
  iio: light: bh1750: Convert to i2c's .probe_new()
  iio: light: bh1780: Convert to i2c's .probe_new()
  iio: light: cm3232: Convert to i2c's .probe_new()
  iio: light: cm3323: Convert to i2c's .probe_new()
  iio: light: cm36651: Convert to i2c's .probe_new()
  iio: light: gp2ap002: Convert to i2c's .probe_new()
  iio: light: gp2ap020a00f: Convert to i2c's .probe_new()
  iio: light: isl29018: Convert to i2c's .probe_new()
  iio: light: isl29028: Convert to i2c's .probe_new()
  iio: light: isl29125: Convert to i2c's .probe_new()
  iio: light: jsa1212: Convert to i2c's .probe_new()
  iio: light: ltr501: Convert to i2c's .probe_new()
  iio: light: lv0104cs: Convert to i2c's .probe_new()
  iio: light: max44000: Convert to i2c's .probe_new()
  iio: light: max44009: Convert to i2c's .probe_new()
  iio: light: noa1305: Convert to i2c's .probe_new()
  iio: light: opt3001: Convert to i2c's .probe_new()
  iio: light: pa12203001: Convert to i2c's .probe_new()
  iio: light: rpr0521: Convert to i2c's .probe_new()
  iio: light: si1133: Convert to i2c's .probe_new()
  iio: light: si1145: Convert to i2c's .probe_new()
  iio: light: st_uvis25_i2c: Convert to i2c's .probe_new()
  iio: light: stk3310: Convert to i2c's .probe_new()
  iio: light: tcs3414: Convert to i2c's .probe_new()
  iio: light: tcs3472: Convert to i2c's .probe_new()
  iio: light: tsl2563: Convert to i2c's .probe_new()
  iio: light: tsl2583: Convert to i2c's .probe_new()
  iio: light: tsl2772: Convert to i2c's .probe_new()
  iio: light: tsl4531: Convert to i2c's .probe_new()
  iio: light: us5182d: Convert to i2c's .probe_new()
  iio: light: vcnl4000: Convert to i2c's .probe_new()
  iio: light: vcnl4035: Convert to i2c's .probe_new()
  iio: light: veml6030: Convert to i2c's .probe_new()
  iio: light: veml6070: Convert to i2c's .probe_new()
  iio: light: zopt2201: Convert to i2c's .probe_new()
  iio: magnetometer: ak8974: Convert to i2c's .probe_new()
  iio: magnetometer: ak8975: Convert to i2c's .probe_new()
  iio: magnetometer: bmc150_magn_i2c: Convert to i2c's .probe_new()
  iio: magnetometer: hmc5843: Convert to i2c's .probe_new()
  iio: magnetometer: mag3110: Convert to i2c's .probe_new()
  iio: magnetometer: mmc35240: Convert to i2c's .probe_new()
  iio: magnetometer: yamaha-yas530: Convert to i2c's .probe_new()
  iio: potentiometer: ad5272: Convert to i2c's .probe_new()
  iio: potentiometer: ds1803: Convert to i2c's .probe_new()
  iio: potentiometer: max5432: Convert to i2c's .probe_new()
  iio: potentiometer: tpl0102: Convert to i2c's .probe_new()
  iio: potentiostat: lmp91000: Convert to i2c's .probe_new()
  iio: pressure: abp060mg: Convert to i2c's .probe_new()
  iio: pressure: bmp280-i2c: Convert to i2c's .probe_new()
  iio: pressure: dlhl60d: Convert to i2c's .probe_new()
  iio: pressure: dps310: Convert to i2c's .probe_new()
  iio: pressure: hp03: Convert to i2c's .probe_new()
  iio: pressure: hp206c: Convert to i2c's .probe_new()
  iio: pressure: icp10100: Convert to i2c's .probe_new()
  iio: pressure: mpl115_i2c: Convert to i2c's .probe_new()
  iio: pressure: mpl3115: Convert to i2c's .probe_new()
  iio: pressure: ms5611_i2c: Convert to i2c's .probe_new()
  iio: pressure: ms5637: Convert to i2c's .probe_new()
  iio: pressure: st_pressure_i2c: Convert to i2c's .probe_new()
  iio: pressure: t5403: Convert to i2c's .probe_new()
  iio: pressure: zpa2326_i2c: Convert to i2c's .probe_new()
  iio: proximity: isl29501: Convert to i2c's .probe_new()
  iio: proximity: mb1232: Convert to i2c's .probe_new()
  iio: proximity: pulsedlight-lidar-lite-v2: Convert to i2c's
    .probe_new()
  iio: proximity: rfd77402: Convert to i2c's .probe_new()
  iio: proximity: srf08: Convert to i2c's .probe_new()
  iio: proximity: sx9500: Convert to i2c's .probe_new()
  iio: temperature: mlx90614: Convert to i2c's .probe_new()
  iio: temperature: mlx90632: Convert to i2c's .probe_new()
  iio: temperature: tmp006: Convert to i2c's .probe_new()
  iio: temperature: tmp007: Convert to i2c's .probe_new()
  iio: temperature: tsys01: Convert to i2c's .probe_new()
  iio: temperature: tsys02d: Convert to i2c's .probe_new()
  Input: as5011 - Convert to i2c's .probe_new()
  Input: adp5588-keys - Convert to i2c's .probe_new()
  Input: adp5589-keys - Convert to i2c's .probe_new()
  Input: cap11xx - Convert to i2c's .probe_new()
  Input: dlink-dir685-touchkeys - Convert to i2c's .probe_new()
  Input: lm8323 - Convert to i2c's .probe_new()
  Input: lm8333 - Convert to i2c's .probe_new()
  Input: max7359_keypad - Convert to i2c's .probe_new()
  Input: mcs_touchkey - Convert to i2c's .probe_new()
  Input: mpr121_touchkey - Convert to i2c's .probe_new()
  Input: qt1070 - Convert to i2c's .probe_new()
  Input: qt2160 - Convert to i2c's .probe_new()
  Input: tca6416-keypad - Convert to i2c's .probe_new()
  Input: tca8418_keypad - Convert to i2c's .probe_new()
  Input: tm2-touchkey - Convert to i2c's .probe_new()
  Input: ad714x-i2c - Convert to i2c's .probe_new()
  Input: adxl34x-i2c - Convert to i2c's .probe_new()
  Input: apanel - Convert to i2c's .probe_new()
  Input: atmel_captouch - Convert to i2c's .probe_new()
  Input: bma150 - Convert to i2c's .probe_new()
  Input: cma3000_d0x_i2c - Convert to i2c's .probe_new()
  Input: da7280 - Convert to i2c's .probe_new()
  Input: drv260x - Convert to i2c's .probe_new()
  Input: drv2665 - Convert to i2c's .probe_new()
  Input: drv2667 - Convert to i2c's .probe_new()
  Input: ibm-panel - Convert to i2c's .probe_new()
  Input: kxtj9 - Convert to i2c's .probe_new()
  Input: mma8450 - Convert to i2c's .probe_new()
  Input: pcf8574_keypad - Convert to i2c's .probe_new()
  Input: cyapa - Convert to i2c's .probe_new()
  Input: elan_i2c_core - Convert to i2c's .probe_new()
  Input: synaptics_i2c - Convert to i2c's .probe_new()
  Input: rmi_i2c - Convert to i2c's .probe_new()
  Input: rmi_smbus - Convert to i2c's .probe_new()
  Input: ad7879-i2c - Convert to i2c's .probe_new()
  Input: ar1021_i2c - Convert to i2c's .probe_new()
  Input: atmel_mxt_ts - Convert to i2c's .probe_new()
  Input: auo-pixcir-ts - Convert to i2c's .probe_new()
  Input: bu21013_ts - Convert to i2c's .probe_new()
  Input: bu21029_ts - Convert to i2c's .probe_new()
  Input: chipone_icn8318 - Convert to i2c's .probe_new()
  Input: cy8ctma140 - Convert to i2c's .probe_new()
  Input: cy8ctmg110_ts - Convert to i2c's .probe_new()
  Input: cyttsp4 - Convert to i2c's .probe_new()
  Input: cyttsp5: Convert to i2c's .probe_new()
  Input: cyttsp_i2c - Convert to i2c's .probe_new()
  Input: edt-ft5x06 - Convert to i2c's .probe_new()
  Input: eeti_ts - Convert to i2c's .probe_new()
  Input: egalax_ts - Convert to i2c's .probe_new()
  Input: ektf2127 - Convert to i2c's .probe_new()
  Input: goodix - Convert to i2c's .probe_new()
  Input: hideep - Convert to i2c's .probe_new()
  Input: hx83112b: Convert to i2c's .probe_new()
  Input: hycon-hy46xx - Convert to i2c's .probe_new()
  Input: ili210x - Convert to i2c's .probe_new()
  Input: ilitek_ts_i2c - Convert to i2c's .probe_new()
  Input: iqs5xx - Convert to i2c's .probe_new()
  Input: max11801_ts - Convert to i2c's .probe_new()
  Input: mcs5000_ts - Convert to i2c's .probe_new()
  Input: melfas_mip4 - Convert to i2c's .probe_new()
  Input: migor_ts - Convert to i2c's .probe_new()
  Input: mms114 - Convert to i2c's .probe_new()
  Input: pixcir_i2c_ts - Convert to i2c's .probe_new()
  Input: raydium_i2c_ts - Convert to i2c's .probe_new()
  Input: rohm_bu21023 - Convert to i2c's .probe_new()
  Input: s6sy761 - Convert to i2c's .probe_new()
  Input: silead - Convert to i2c's .probe_new()
  Input: sis_i2c - Convert to i2c's .probe_new()
  Input: st1232 - Convert to i2c's .probe_new()
  Input: stmfts - Convert to i2c's .probe_new()
  Input: sx8654 - Convert to i2c's .probe_new()
  Input: tsc2004 - Convert to i2c's .probe_new()
  Input: tsc2007_core - Convert to i2c's .probe_new()
  Input: wacom_i2c - Convert to i2c's .probe_new()
  Input: wdt87xx_i2c - Convert to i2c's .probe_new()
  Input: zet6223 - Convert to i2c's .probe_new()
  Input: zforce_ts - Convert to i2c's .probe_new()
  leds: bd2802: Convert to i2c's .probe_new()
  leds: blinkm: Convert to i2c's .probe_new()
  leds: is31fl32xx: Convert to i2c's .probe_new()
  leds: lm3530: Convert to i2c's .probe_new()
  leds: lm3532: Convert to i2c's .probe_new()
  leds: lm355x: Convert to i2c's .probe_new()
  leds: lm3642: Convert to i2c's .probe_new()
  leds: lm3692x: Convert to i2c's .probe_new()
  leds: lm3697: Convert to i2c's .probe_new()
  leds: lp3944: Convert to i2c's .probe_new()
  leds: lp3952: Convert to i2c's .probe_new()
  leds: lp5521: Convert to i2c's .probe_new()
  leds: lp5523: Convert to i2c's .probe_new()
  leds: lp5562: Convert to i2c's .probe_new()
  leds: lp8501: Convert to i2c's .probe_new()
  leds: lp8860: Convert to i2c's .probe_new()
  leds: pca9532: Convert to i2c's .probe_new()
  leds: pca963x: Convert to i2c's .probe_new()
  leds: tca6507: Convert to i2c's .probe_new()
  leds: tlc591xx: Convert to i2c's .probe_new()
  leds: turris-omnia: Convert to i2c's .probe_new()
  macintosh: ams/ams-i2c: Convert to i2c's .probe_new()
  macintosh: therm_adt746x: Convert to i2c's .probe_new()
  macintosh: therm_windtunnel: Convert to i2c's .probe_new()
  macintosh: windfarm_ad7417_sensor: Convert to i2c's .probe_new()
  macintosh: windfarm_fcu_controls: Convert to i2c's .probe_new()
  macintosh: windfarm_lm75_sensor: Convert to i2c's .probe_new()
  macintosh: windfarm_lm87_sensor: Convert to i2c's .probe_new()
  macintosh: windfarm_max6690_sensor: Convert to i2c's .probe_new()
  macintosh: windfarm_smu_sat: Convert to i2c's .probe_new()
  media: dvb-frontends/a8293: Convert to i2c's .probe_new()
  media: dvb-frontends/af9013: Convert to i2c's .probe_new()
  media: dvb-frontends/af9033: Convert to i2c's .probe_new()
  media: dvb-frontends/au8522_decoder: Convert to i2c's .probe_new()
  media: dvb-frontends/cxd2099: Convert to i2c's .probe_new()
  media: dvb-frontends/cxd2820r_core: Convert to i2c's .probe_new()
  media: dvb-frontends/dvb-pll: Convert to i2c's .probe_new()
  media: dvb-frontends/helene: Convert to i2c's .probe_new()
  media: dvb-frontends/lgdt3306a: Convert to i2c's .probe_new()
  media: dvb-frontends/lgdt330x: Convert to i2c's .probe_new()
  media: dvb-frontends/m88ds3103: Convert to i2c's .probe_new()
  media: dvb-frontends/mn88443x: Convert to i2c's .probe_new()
  media: dvb-frontends/mn88472: Convert to i2c's .probe_new()
  media: dvb-frontends/mn88473: Convert to i2c's .probe_new()
  media: dvb-frontends/mxl692: Convert to i2c's .probe_new()
  media: dvb-frontends/rtl2830: Convert to i2c's .probe_new()
  media: dvb-frontends/rtl2832: Convert to i2c's .probe_new()
  media: dvb-frontends/si2165: Convert to i2c's .probe_new()
  media: dvb-frontends/si2168: Convert to i2c's .probe_new()
  media: dvb-frontends/sp2: Convert to i2c's .probe_new()
  media: dvb-frontends/stv090x: Convert to i2c's .probe_new()
  media: dvb-frontends/stv6110x: Convert to i2c's .probe_new()
  media: dvb-frontends/tc90522: Convert to i2c's .probe_new()
  media: dvb-frontends/tda10071: Convert to i2c's .probe_new()
  media: dvb-frontends/ts2020: Convert to i2c's .probe_new()
  media: i2c/ad5820: Convert to i2c's .probe_new()
  media: i2c/ad9389b: Convert to i2c's .probe_new()
  media: i2c/adp1653: Convert to i2c's .probe_new()
  media: i2c/adv7170: Convert to i2c's .probe_new()
  media: i2c/adv7175: Convert to i2c's .probe_new()
  media: i2c/adv7180: Convert to i2c's .probe_new()
  media: i2c/adv7183: Convert to i2c's .probe_new()
  media: i2c/adv7393: Convert to i2c's .probe_new()
  media: i2c/adv7511-v4l2: Convert to i2c's .probe_new()
  media: i2c/adv7604: Convert to i2c's .probe_new()
  media: i2c/adv7842: Convert to i2c's .probe_new()
  media: i2c/ak881x: Convert to i2c's .probe_new()
  media: i2c/bt819: Convert to i2c's .probe_new()
  media: i2c/bt856: Convert to i2c's .probe_new()
  media: i2c/bt866: Convert to i2c's .probe_new()
  media: i2c/cs3308: Convert to i2c's .probe_new()
  media: i2c/cs5345: Convert to i2c's .probe_new()
  media: i2c/cs53l32a: Convert to i2c's .probe_new()
  media: cx25840: Convert to i2c's .probe_new()
  media: i2c/ir-kbd-i2c: Convert to i2c's .probe_new()
  media: i2c/ks0127: Convert to i2c's .probe_new()
  media: i2c/lm3560: Convert to i2c's .probe_new()
  media: i2c/lm3646: Convert to i2c's .probe_new()
  media: i2c/m52790: Convert to i2c's .probe_new()
  media: m5mols: Convert to i2c's .probe_new()
  media: i2c/ml86v7667: Convert to i2c's .probe_new()
  media: i2c/msp3400-driver: Convert to i2c's .probe_new()
  media: i2c/mt9m032: Convert to i2c's .probe_new()
  media: i2c/mt9p031: Convert to i2c's .probe_new()
  media: i2c/mt9t001: Convert to i2c's .probe_new()
  media: i2c/mt9t112: Convert to i2c's .probe_new()
  media: i2c/mt9v011: Convert to i2c's .probe_new()
  media: i2c/mt9v032: Convert to i2c's .probe_new()
  media: i2c/noon010pc30: Convert to i2c's .probe_new()
  media: i2c/ov13858: Convert to i2c's .probe_new()
  media: i2c/ov6650: Convert to i2c's .probe_new()
  media: i2c/ov7640: Convert to i2c's .probe_new()
  media: i2c/ov7670: Convert to i2c's .probe_new()
  media: i2c/ov9640: Convert to i2c's .probe_new()
  media: i2c/rj54n1cb0c: Convert to i2c's .probe_new()
  media: i2c/s5k4ecgx: Convert to i2c's .probe_new()
  media: i2c/s5k6aa: Convert to i2c's .probe_new()
  media: i2c/saa6588: Convert to i2c's .probe_new()
  media: i2c/saa6752hs: Convert to i2c's .probe_new()
  media: i2c/saa7110: Convert to i2c's .probe_new()
  media: i2c/saa7115: Convert to i2c's .probe_new()
  media: i2c/saa7127: Convert to i2c's .probe_new()
  media: i2c/saa717x: Convert to i2c's .probe_new()
  media: i2c/saa7185: Convert to i2c's .probe_new()
  media: i2c/sony-btf-mpx: Convert to i2c's .probe_new()
  media: i2c/sr030pc30: Convert to i2c's .probe_new()
  media: i2c/tda1997x: Convert to i2c's .probe_new()
  media: i2c/tda7432: Convert to i2c's .probe_new()
  media: i2c/tda9840: Convert to i2c's .probe_new()
  media: i2c/tea6415c: Convert to i2c's .probe_new()
  media: i2c/tea6420: Convert to i2c's .probe_new()
  media: i2c/ths7303: Convert to i2c's .probe_new()
  media: i2c/tlv320aic23b: Convert to i2c's .probe_new()
  media: i2c/tvaudio: Convert to i2c's .probe_new()
  media: i2c/tvp514x: Convert to i2c's .probe_new()
  media: i2c/tw2804: Convert to i2c's .probe_new()
  media: i2c/tw9903: Convert to i2c's .probe_new()
  media: i2c/tw9906: Convert to i2c's .probe_new()
  media: i2c/tw9910: Convert to i2c's .probe_new()
  media: i2c/uda1342: Convert to i2c's .probe_new()
  media: i2c/upd64031a: Convert to i2c's .probe_new()
  media: i2c/upd64083: Convert to i2c's .probe_new()
  media: i2c/video-i2c: Convert to i2c's .probe_new()
  media: i2c/vp27smpx: Convert to i2c's .probe_new()
  media: i2c/vpx3220: Convert to i2c's .probe_new()
  media: i2c/vs6624: Convert to i2c's .probe_new()
  media: i2c/wm8739: Convert to i2c's .probe_new()
  media: i2c/wm8775: Convert to i2c's .probe_new()
  media: radio/radio-tea5764: Convert to i2c's .probe_new()
  media: radio/saa7706h: Convert to i2c's .probe_new()
  media: radio/tef6862: Convert to i2c's .probe_new()
  media: vidtv: Convert to i2c's .probe_new()
  media: tuners/e4000: Convert to i2c's .probe_new()
  media: tuners/fc2580: Convert to i2c's .probe_new()
  media: tuners/m88rs6000t: Convert to i2c's .probe_new()
  media: tuners/mt2060: Convert to i2c's .probe_new()
  media: tuners/mxl301rf: Convert to i2c's .probe_new()
  media: tuners/qm1d1b0004: Convert to i2c's .probe_new()
  media: tuners/qm1d1c0042: Convert to i2c's .probe_new()
  media: tuners/si2157: Convert to i2c's .probe_new()
  media: tuners/tda18212: Convert to i2c's .probe_new()
  media: tuners/tda18250: Convert to i2c's .probe_new()
  media: tuners/tua9001: Convert to i2c's .probe_new()
  media: usb: go7007: s2250-board: Convert to i2c's .probe_new()
  media: v4l2-core/tuner-core: Convert to i2c's .probe_new()
  mfd: 88pm800: Convert to i2c's .probe_new()
  mfd: 88pm805: Convert to i2c's .probe_new()
  mfd: aat2870-core: Convert to i2c's .probe_new()
  mfd: act8945a: Convert to i2c's .probe_new()
  mfd: adp5520: Convert to i2c's .probe_new()
  mfd: arizona-i2c: Convert to i2c's .probe_new()
  mfd: as3711: Convert to i2c's .probe_new()
  mfd: as3722: Convert to i2c's .probe_new()
  mfd: atc260x-i2c: Convert to i2c's .probe_new()
  mfd: axp20x-i2c: Convert to i2c's .probe_new()
  mfd: bcm590xx: Convert to i2c's .probe_new()
  mfd: bd9571mwv: Convert to i2c's .probe_new()
  mfd: da903x: Convert to i2c's .probe_new()
  mfd: da9052-i2c: Convert to i2c's .probe_new()
  mfd: da9055-i2c: Convert to i2c's .probe_new()
  mfd: da9062-core: Convert to i2c's .probe_new()
  mfd: da9063-i2c: Convert to i2c's .probe_new()
  mfd: da9150-core: Convert to i2c's .probe_new()
  mfd: khadas-mcu: Convert to i2c's .probe_new()
  mfd: lm3533-core: Convert to i2c's .probe_new()
  mfd: lp3943: Convert to i2c's .probe_new()
  mfd: lp873x: Convert to i2c's .probe_new()
  mfd: lp87565: Convert to i2c's .probe_new()
  mfd: lp8788: Convert to i2c's .probe_new()
  mfd: madera-i2c: Convert to i2c's .probe_new()
  mfd: max14577: Convert to i2c's .probe_new()
  mfd: max77620: Convert to i2c's .probe_new()
  mfd: max77693: Convert to i2c's .probe_new()
  mfd: max77843: Convert to i2c's .probe_new()
  mfd: max8907: Convert to i2c's .probe_new()
  mfd: max8925-i2c: Convert to i2c's .probe_new()
  mfd: max8997: Convert to i2c's .probe_new()
  mfd: max8998: Convert to i2c's .probe_new()
  mfd: mc13xxx-i2c: Convert to i2c's .probe_new()
  mfd: menelaus: Convert to i2c's .probe_new()
  mfd: menf21bmc: Convert to i2c's .probe_new()
  mfd: palmas: Convert to i2c's .probe_new()
  mfd: pcf50633-core: Convert to i2c's .probe_new()
  mfd: rc5t583: Convert to i2c's .probe_new()
  mfd: retu-mfd: Convert to i2c's .probe_new()
  mfd: rk808: Convert to i2c's .probe_new()
  mfd: rohm-bd718x7: Convert to i2c's .probe_new()
  mfd: rsmu_i2c: Convert to i2c's .probe_new()
  mfd: rt5033: Convert to i2c's .probe_new()
  mfd: sec-core: Convert to i2c's .probe_new()
  mfd: si476x-i2c: Convert to i2c's .probe_new()
  mfd: sky81452: Convert to i2c's .probe_new()
  mfd: stmfx: Convert to i2c's .probe_new()
  mfd: stmpe-i2c: Convert to i2c's .probe_new()
  mfd: stpmic1: Convert to i2c's .probe_new()
  mfd: stw481x: Convert to i2c's .probe_new()
  mfd: tc3589x: Convert to i2c's .probe_new()
  mfd: ti-lmu: Convert to i2c's .probe_new()
  mfd: tps6105x: Convert to i2c's .probe_new()
  mfd: tps65010: Convert to i2c's .probe_new()
  mfd: tps6507x: Convert to i2c's .probe_new()
  mfd: tps65086: Convert to i2c's .probe_new()
  mfd: tps65090: Convert to i2c's .probe_new()
  mfd: tps65218: Convert to i2c's .probe_new()
  mfd: tps6586x: Convert to i2c's .probe_new()
  mfd: tps65910: Convert to i2c's .probe_new()
  mfd: tps65912-i2c: Convert to i2c's .probe_new()
  mfd: twl-core: Convert to i2c's .probe_new()
  mfd: twl6040: Convert to i2c's .probe_new()
  mfd: wl1273-core: Convert to i2c's .probe_new()
  mfd: wm831x-i2c: Convert to i2c's .probe_new()
  mfd: wm8350-i2c: Convert to i2c's .probe_new()
  mfd: wm8400-core: Convert to i2c's .probe_new()
  mfd: wm8994-core: Convert to i2c's .probe_new()
  misc: ad525x_dpot-i2c: Convert to i2c's .probe_new()
  misc: apds9802als: Convert to i2c's .probe_new()
  misc: apds990x: Convert to i2c's .probe_new()
  misc: bh1770glc: Convert to i2c's .probe_new()
  misc: ds1682: Convert to i2c's .probe_new()
  misc: eeprom/eeprom: Convert to i2c's .probe_new()
  misc: eeprom/idt_89hpesx: Convert to i2c's .probe_new()
  misc: eeprom/max6875: Convert to i2c's .probe_new()
  misc: hmc6352: Convert to i2c's .probe_new()
  misc: ics932s401: Convert to i2c's .probe_new()
  misc: isl29003: Convert to i2c's .probe_new()
  misc: isl29020: Convert to i2c's .probe_new()
  misc: lis3lv02d/lis3lv02d_i2c: Convert to i2c's .probe_new()
  misc: tsl2550: Convert to i2c's .probe_new()
  mtd: maps: pismo: Convert to i2c's .probe_new()
  net: dsa: lan9303: Convert to i2c's .probe_new()
  net: dsa: microchip: ksz9477: Convert to i2c's .probe_new()
  net: dsa: xrs700x: Convert to i2c's .probe_new()
  net/mlx5: Convert to i2c's .probe_new()
  nfc: microread: Convert to i2c's .probe_new()
  nfc: mrvl: Convert to i2c's .probe_new()
  NFC: nxp-nci: Convert to i2c's .probe_new()
  nfc: pn533: Convert to i2c's .probe_new()
  nfc: pn544: Convert to i2c's .probe_new()
  nfc: s3fwrn5: Convert to i2c's .probe_new()
  nfc: st-nci: Convert to i2c's .probe_new()
  nfc: st21nfca: i2c: Convert to i2c's .probe_new()
  of: unittest: Convert to i2c's .probe_new()
  pinctrl: mcp23s08: Convert to i2c's .probe_new()
  pinctrl: sx150x: Convert to i2c's .probe_new()
  platform/chrome: cros_ec: Convert to i2c's .probe_new()
  power: supply: adp5061: Convert to i2c's .probe_new()
  power: supply: bq2415x: Convert to i2c's .probe_new()
  power: supply: bq24190: Convert to i2c's .probe_new()
  power: supply: bq24257: Convert to i2c's .probe_new()
  power: supply: bq24735: Convert to i2c's .probe_new()
  power: supply: bq2515x: Convert to i2c's .probe_new()
  power: supply: bq256xx: Convert to i2c's .probe_new()
  power: supply: bq25890: Convert to i2c's .probe_new()
  power: supply: bq25980: Convert to i2c's .probe_new()
  power: supply: bq27xxx: Convert to i2c's .probe_new()
  power: supply: ds2782: Convert to i2c's .probe_new()
  power: supply: lp8727: Convert to i2c's .probe_new()
  power: supply: ltc2941: Convert to i2c's .probe_new()
  power: supply: ltc4162-l: Convert to i2c's .probe_new()
  power: supply: max14656: Convert to i2c's .probe_new()
  power: supply: max17040: Convert to i2c's .probe_new()
  power: supply: max17042_battery: Convert to i2c's .probe_new()
  power: supply: rt5033_battery: Convert to i2c's .probe_new()
  power: supply: rt9455: Convert to i2c's .probe_new()
  power: supply: sbs: Convert to i2c's .probe_new()
  power: supply: sbs-manager: Convert to i2c's .probe_new()
  power: supply: smb347: Convert to i2c's .probe_new()
  power: supply: ucs1002: Convert to i2c's .probe_new()
  power: supply: z2_battery: Convert to i2c's .probe_new()
  pwm: pca9685: Convert to i2c's .probe_new()
  regulator: act8865-regulator: Convert to i2c's .probe_new()
  regulator: ad5398: Convert to i2c's .probe_new()
  regulator: da9121-regulator: Convert to i2c's .probe_new()
  regulator: fan53555: Convert to i2c's .probe_new()
  regulator: isl6271a-regulator: Convert to i2c's .probe_new()
  regulator: lp3972: Convert to i2c's .probe_new()
  regulator: lp872x: Convert to i2c's .probe_new()
  regulator: lp8755: Convert to i2c's .probe_new()
  regulator: ltc3589: Convert to i2c's .probe_new()
  regulator: max1586: Convert to i2c's .probe_new()
  regulator: max8649: Convert to i2c's .probe_new()
  regulator: max8660: Convert to i2c's .probe_new()
  regulator: max8952: Convert to i2c's .probe_new()
  regulator: max8973-regulator: Convert to i2c's .probe_new()
  regulator: pca9450-regulator: Convert to i2c's .probe_new()
  regulator: pfuze100-regulator: Convert to i2c's .probe_new()
  regulator: pv88080-regulator: Convert to i2c's .probe_new()
  regulator: rpi-panel-attiny-regulator: Convert to i2c's .probe_new()
  regulator: tps51632-regulator: Convert to i2c's .probe_new()
  regulator: tps62360-regulator: Convert to i2c's .probe_new()
  regulator: tps6286x-regulator: Convert to i2c's .probe_new()
  regulator: tps65023-regulator: Convert to i2c's .probe_new()
  rtc: ds1307: Convert to i2c's .probe_new()
  rtc: isl1208: Convert to i2c's .probe_new()
  rtc: m41t80: Convert to i2c's .probe_new()
  rtc: rs5c372: Convert to i2c's .probe_new()
  spi: sc18is602: Convert to i2c's .probe_new()
  spi: xcomm: Convert to i2c's .probe_new()
  staging: iio: adt7316: Convert to i2c's .probe_new()
  staging: iio: ad5933: Convert to i2c's .probe_new()
  staging: iio: ade7854: Convert to i2c's .probe_new()
  staging: most: i2c: Convert to i2c's .probe_new()
  staging: olpc_dcon: Convert to i2c's .probe_new()
  serial: sc16is7xx: Convert to i2c's .probe_new()
  usb: usb251xb: Convert to i2c's .probe_new()
  usb: misc: usb3503: Convert to i2c's .probe_new()
  usb: usb4604: Convert to i2c's .probe_new()
  usb: isp1301-omap: Convert to i2c's .probe_new()
  usb: phy: isp1301: Convert to i2c's .probe_new()
  usb: typec: anx7411: Convert to i2c's .probe_new()
  usb: typec: hd3ss3220: Convert to i2c's .probe_new()
  usb: typec: tcpm/fusb302: Convert to i2c's .probe_new()
  usb: typec: tcpm/tcpci: Convert to i2c's .probe_new()
  usb: typec: tcpm/tcpci_maxim: Convert to i2c's .probe_new()
  usb: typec: tcpm/tcpci_rt1711h: Convert to i2c's .probe_new()
  usb: typec: ucsi/ucsi_ccg: Convert to i2c's .probe_new()
  usb: typec: ucsi: stm32g0: Convert to i2c's .probe_new()
  backlight: adp8860: Convert to i2c's .probe_new()
  backlight: adp8870: Convert to i2c's .probe_new()
  backlight: arcxcnn: Convert to i2c's .probe_new()
  backlight: bd6107: Convert to i2c's .probe_new()
  backlight: lm3630a: Convert to i2c's .probe_new()
  backlight: lm3639: Convert to i2c's .probe_new()
  backlight: lp855x: Convert to i2c's .probe_new()
  backlight: lv5207lp: Convert to i2c's .probe_new()
  backlight: tosa: Convert to i2c's .probe_new()
  video: fbdev: matrox: Convert to i2c's .probe_new()
  w1: ds2482: Convert to i2c's .probe_new()
  watchdog: ziirave_wdt: Convert to i2c's .probe_new()
  ALSA: aoa: onyx: Convert to i2c's .probe_new()
  ALSA: aoa: tas: Convert to i2c's .probe_new()
  ALSA: hda: cs35l41: Convert to i2c's .probe_new()
  ALSA: ppc: keywest: Convert to i2c's .probe_new()
  ASoC: codecs: es8326: Convert to i2c's .probe_new()
  ASoC: max98396: Convert to i2c's .probe_new()
  ASoC: codecs: src4xxx-i2c: Convert to i2c's .probe_new()
  ASoC: codecs: tas2780: Convert to i2c's .probe_new()
  ipmi: ssif_bmc: Convert to i2c's .probe_new()
  [DON'T APPLY] i2c: Switch .probe() to not take an id parameter

 drivers/char/ipmi/ssif_bmc.c                     |  4 ++--
 drivers/char/tpm/st33zp24/i2c.c                  |  5 ++---
 drivers/char/tpm/tpm_i2c_atmel.c                 |  5 ++---
 drivers/char/tpm/tpm_i2c_infineon.c              |  5 ++---
 drivers/char/tpm/tpm_i2c_nuvoton.c               |  6 +++---
 drivers/char/tpm/tpm_tis_i2c.c                   |  5 ++---
 drivers/crypto/atmel-ecc.c                       |  6 +++---
 drivers/crypto/atmel-sha204a.c                   |  6 +++---
 drivers/extcon/extcon-fsa9480.c                  |  5 ++---
 drivers/extcon/extcon-rt8973a.c                  |  5 ++---
 drivers/extcon/extcon-usbc-tusb320.c             |  5 ++---
 drivers/gpio/gpio-max732x.c                      |  6 +++---
 drivers/gpio/gpio-pca953x.c                      |  6 +++---
 drivers/gpio/gpio-pcf857x.c                      |  6 +++---
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c     |  5 +++--
 .../gpu/drm/bridge/analogix/analogix-anx6345.c   |  5 ++---
 .../gpu/drm/bridge/analogix/analogix-anx78xx.c   |  5 ++---
 drivers/gpu/drm/bridge/analogix/anx7625.c        |  5 ++---
 drivers/gpu/drm/bridge/chipone-icn6211.c         |  5 ++---
 drivers/gpu/drm/bridge/chrontel-ch7033.c         |  5 ++---
 drivers/gpu/drm/bridge/ite-it6505.c              |  5 ++---
 drivers/gpu/drm/bridge/ite-it66121.c             |  5 ++---
 drivers/gpu/drm/bridge/lontium-lt8912b.c         |  5 ++---
 drivers/gpu/drm/bridge/lontium-lt9211.c          |  5 ++---
 drivers/gpu/drm/bridge/lontium-lt9611.c          |  5 ++---
 drivers/gpu/drm/bridge/lontium-lt9611uxc.c       |  5 ++---
 .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 10 ++++------
 drivers/gpu/drm/bridge/nxp-ptn3460.c             |  5 ++---
 drivers/gpu/drm/bridge/parade-ps8622.c           |  6 +++---
 drivers/gpu/drm/bridge/sii902x.c                 |  5 ++---
 drivers/gpu/drm/bridge/sii9234.c                 |  5 ++---
 drivers/gpu/drm/bridge/sil-sii8620.c             |  5 ++---
 drivers/gpu/drm/bridge/tc358767.c                |  4 ++--
 drivers/gpu/drm/bridge/tc358768.c                |  5 ++---
 drivers/gpu/drm/bridge/tc358775.c                |  4 ++--
 drivers/gpu/drm/bridge/ti-sn65dsi83.c            |  6 +++---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c            |  5 ++---
 drivers/gpu/drm/bridge/ti-tfp410.c               |  5 ++---
 drivers/gpu/drm/i2c/ch7006_drv.c                 |  4 ++--
 drivers/gpu/drm/i2c/sil164_drv.c                 |  4 ++--
 drivers/gpu/drm/i2c/tda9950.c                    |  5 ++---
 drivers/gpu/drm/i2c/tda998x_drv.c                |  4 ++--
 .../gpu/drm/panel/panel-olimex-lcd-olinuxino.c   |  5 ++---
 .../drm/panel/panel-raspberrypi-touchscreen.c    |  5 ++---
 drivers/i2c/i2c-core-base.c                      | 16 ++++------------
 drivers/i2c/i2c-slave-eeprom.c                   |  5 +++--
 drivers/i2c/i2c-smbus.c                          |  5 ++---
 drivers/i2c/muxes/i2c-mux-pca9541.c              |  5 ++---
 drivers/i2c/muxes/i2c-mux-pca954x.c              |  6 +++---
 drivers/iio/accel/adxl372_i2c.c                  |  6 +++---
 drivers/iio/accel/bma180.c                       |  6 +++---
 drivers/iio/accel/bma400_i2c.c                   |  6 +++---
 drivers/iio/accel/bmc150-accel-i2c.c             |  6 +++---
 drivers/iio/accel/da280.c                        |  6 +++---
 drivers/iio/accel/kxcjk-1013.c                   |  6 +++---
 drivers/iio/accel/mma7455_i2c.c                  |  6 +++---
 drivers/iio/accel/mma8452.c                      |  6 +++---
 drivers/iio/accel/mma9551.c                      |  6 +++---
 drivers/iio/accel/mma9553.c                      |  6 +++---
 drivers/iio/adc/ad7091r5.c                       |  6 +++---
 drivers/iio/adc/ad7291.c                         |  6 +++---
 drivers/iio/adc/ad799x.c                         |  6 +++---
 drivers/iio/adc/ina2xx-adc.c                     |  6 +++---
 drivers/iio/adc/ltc2471.c                        |  6 +++---
 drivers/iio/adc/ltc2485.c                        |  6 +++---
 drivers/iio/adc/ltc2497.c                        |  6 +++---
 drivers/iio/adc/max1363.c                        |  6 +++---
 drivers/iio/adc/max9611.c                        |  5 ++---
 drivers/iio/adc/mcp3422.c                        |  6 +++---
 drivers/iio/adc/ti-adc081c.c                     |  6 +++---
 drivers/iio/adc/ti-ads1015.c                     |  6 +++---
 drivers/iio/cdc/ad7150.c                         |  6 +++---
 drivers/iio/cdc/ad7746.c                         |  6 +++---
 drivers/iio/chemical/ams-iaq-core.c              |  5 ++---
 drivers/iio/chemical/atlas-ezo-sensor.c          |  6 +++---
 drivers/iio/chemical/atlas-sensor.c              |  6 +++---
 drivers/iio/chemical/bme680_i2c.c                |  6 +++---
 drivers/iio/chemical/ccs811.c                    |  6 +++---
 drivers/iio/chemical/scd4x.c                     |  4 ++--
 drivers/iio/chemical/sgp30.c                     |  6 +++---
 drivers/iio/chemical/sgp40.c                     |  6 +++---
 drivers/iio/chemical/vz89x.c                     |  6 +++---
 drivers/iio/dac/ad5064.c                         |  6 +++---
 drivers/iio/dac/ad5380.c                         |  6 +++---
 drivers/iio/dac/ad5446.c                         |  6 +++---
 drivers/iio/dac/ad5593r.c                        |  6 +++---
 drivers/iio/dac/ad5696-i2c.c                     |  6 +++---
 drivers/iio/dac/ds4424.c                         |  6 +++---
 drivers/iio/dac/m62332.c                         |  5 ++---
 drivers/iio/dac/max517.c                         |  6 +++---
 drivers/iio/dac/max5821.c                        |  6 +++---
 drivers/iio/dac/mcp4725.c                        |  6 +++---
 drivers/iio/dac/ti-dac5571.c                     |  6 +++---
 drivers/iio/gyro/bmg160_i2c.c                    |  6 +++---
 drivers/iio/gyro/itg3200_core.c                  |  5 ++---
 drivers/iio/gyro/mpu3050-i2c.c                   |  6 +++---
 drivers/iio/gyro/st_gyro_i2c.c                   |  5 ++---
 drivers/iio/health/afe4404.c                     |  5 ++---
 drivers/iio/health/max30100.c                    |  5 ++---
 drivers/iio/health/max30102.c                    |  6 +++---
 drivers/iio/humidity/am2315.c                    |  5 ++---
 drivers/iio/humidity/hdc100x.c                   |  5 ++---
 drivers/iio/humidity/hdc2010.c                   |  5 ++---
 drivers/iio/humidity/hts221_i2c.c                |  5 ++---
 drivers/iio/humidity/htu21.c                     |  6 +++---
 drivers/iio/humidity/si7005.c                    |  5 ++---
 drivers/iio/humidity/si7020.c                    |  5 ++---
 drivers/iio/imu/bmi160/bmi160_i2c.c              |  6 +++---
 drivers/iio/imu/fxos8700_i2c.c                   |  6 +++---
 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c        |  6 +++---
 drivers/iio/imu/kmx61.c                          |  6 +++---
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c      |  6 +++---
 drivers/iio/light/adjd_s311.c                    |  5 ++---
 drivers/iio/light/adux1020.c                     |  5 ++---
 drivers/iio/light/al3010.c                       |  5 ++---
 drivers/iio/light/al3320a.c                      |  5 ++---
 drivers/iio/light/apds9300.c                     |  5 ++---
 drivers/iio/light/apds9960.c                     |  5 ++---
 drivers/iio/light/bh1750.c                       |  6 +++---
 drivers/iio/light/bh1780.c                       |  5 ++---
 drivers/iio/light/cm3232.c                       |  6 +++---
 drivers/iio/light/cm3323.c                       |  5 ++---
 drivers/iio/light/cm36651.c                      |  6 +++---
 drivers/iio/light/gp2ap002.c                     |  5 ++---
 drivers/iio/light/gp2ap020a00f.c                 |  6 +++---
 drivers/iio/light/isl29018.c                     |  6 +++---
 drivers/iio/light/isl29028.c                     |  6 +++---
 drivers/iio/light/isl29125.c                     |  5 ++---
 drivers/iio/light/jsa1212.c                      |  5 ++---
 drivers/iio/light/ltr501.c                       |  6 +++---
 drivers/iio/light/lv0104cs.c                     |  5 ++---
 drivers/iio/light/max44000.c                     |  5 ++---
 drivers/iio/light/max44009.c                     |  5 ++---
 drivers/iio/light/noa1305.c                      |  5 ++---
 drivers/iio/light/opt3001.c                      |  5 ++---
 drivers/iio/light/pa12203001.c                   |  5 ++---
 drivers/iio/light/rpr0521.c                      |  5 ++---
 drivers/iio/light/si1133.c                       |  6 +++---
 drivers/iio/light/si1145.c                       |  6 +++---
 drivers/iio/light/st_uvis25_i2c.c                |  5 ++---
 drivers/iio/light/stk3310.c                      |  5 ++---
 drivers/iio/light/tcs3414.c                      |  5 ++---
 drivers/iio/light/tcs3472.c                      |  5 ++---
 drivers/iio/light/tsl2563.c                      |  5 ++---
 drivers/iio/light/tsl2583.c                      |  5 ++---
 drivers/iio/light/tsl2772.c                      |  6 +++---
 drivers/iio/light/tsl4531.c                      |  5 ++---
 drivers/iio/light/us5182d.c                      |  5 ++---
 drivers/iio/light/vcnl4000.c                     |  6 +++---
 drivers/iio/light/vcnl4035.c                     |  5 ++---
 drivers/iio/light/veml6030.c                     |  5 ++---
 drivers/iio/light/veml6070.c                     |  5 ++---
 drivers/iio/light/zopt2201.c                     |  5 ++---
 drivers/iio/magnetometer/ak8974.c                |  5 ++---
 drivers/iio/magnetometer/ak8975.c                |  6 +++---
 drivers/iio/magnetometer/bmc150_magn_i2c.c       |  6 +++---
 drivers/iio/magnetometer/hmc5843_i2c.c           |  6 +++---
 drivers/iio/magnetometer/mag3110.c               |  6 +++---
 drivers/iio/magnetometer/mmc35240.c              |  5 ++---
 drivers/iio/magnetometer/yamaha-yas530.c         |  6 +++---
 drivers/iio/potentiometer/ad5272.c               |  6 +++---
 drivers/iio/potentiometer/ds1803.c               |  5 +++--
 drivers/iio/potentiometer/max5432.c              |  5 ++---
 drivers/iio/potentiometer/tpl0102.c              |  6 +++---
 drivers/iio/potentiostat/lmp91000.c              |  5 ++---
 drivers/iio/pressure/abp060mg.c                  |  6 +++---
 drivers/iio/pressure/bmp280-i2c.c                |  1 +
 drivers/iio/pressure/dlhl60d.c                   |  6 +++---
 drivers/iio/pressure/dps310.c                    |  6 +++---
 drivers/iio/pressure/hp03.c                      |  6 +++---
 drivers/iio/pressure/hp206c.c                    |  6 +++---
 drivers/iio/pressure/icp10100.c                  |  5 ++---
 drivers/iio/pressure/mpl115_i2c.c                |  6 +++---
 drivers/iio/pressure/mpl3115.c                   |  6 +++---
 drivers/iio/pressure/ms5611_i2c.c                |  6 +++---
 drivers/iio/pressure/ms5637.c                    |  6 +++---
 drivers/iio/pressure/st_pressure_i2c.c           |  5 ++---
 drivers/iio/pressure/t5403.c                     |  6 +++---
 drivers/iio/pressure/zpa2326_i2c.c               |  6 +++---
 drivers/iio/proximity/isl29501.c                 |  5 ++---
 drivers/iio/proximity/mb1232.c                   |  6 +++---
 .../iio/proximity/pulsedlight-lidar-lite-v2.c    |  5 ++---
 drivers/iio/proximity/rfd77402.c                 |  5 ++---
 drivers/iio/proximity/srf08.c                    |  6 +++---
 drivers/iio/proximity/sx9500.c                   |  5 ++---
 drivers/iio/temperature/mlx90614.c               |  6 +++---
 drivers/iio/temperature/mlx90632.c               | 12 ++++++++++--
 drivers/iio/temperature/tmp006.c                 |  5 ++---
 drivers/iio/temperature/tmp007.c                 |  6 +++---
 drivers/iio/temperature/tsys01.c                 |  5 ++---
 drivers/iio/temperature/tsys02d.c                |  6 +++---
 drivers/input/joystick/as5011.c                  |  5 ++---
 drivers/input/keyboard/adp5588-keys.c            |  5 ++---
 drivers/input/keyboard/adp5589-keys.c            |  6 +++---
 drivers/input/keyboard/cap11xx.c                 |  6 +++---
 drivers/input/keyboard/dlink-dir685-touchkeys.c  |  5 ++---
 drivers/input/keyboard/lm8323.c                  |  5 ++---
 drivers/input/keyboard/lm8333.c                  |  5 ++---
 drivers/input/keyboard/max7359_keypad.c          |  5 ++---
 drivers/input/keyboard/mcs_touchkey.c            |  6 +++---
 drivers/input/keyboard/mpr121_touchkey.c         |  5 ++---
 drivers/input/keyboard/qt1070.c                  |  5 ++---
 drivers/input/keyboard/qt2160.c                  |  5 ++---
 drivers/input/keyboard/tca6416-keypad.c          |  6 +++---
 drivers/input/keyboard/tca8418_keypad.c          |  5 ++---
 drivers/input/keyboard/tm2-touchkey.c            |  5 ++---
 drivers/input/misc/ad714x-i2c.c                  |  5 ++---
 drivers/input/misc/adxl34x-i2c.c                 |  5 ++---
 drivers/input/misc/apanel.c                      |  5 ++---
 drivers/input/misc/atmel_captouch.c              |  5 ++---
 drivers/input/misc/bma150.c                      |  5 ++---
 drivers/input/misc/cma3000_d0x_i2c.c             |  5 ++---
 drivers/input/misc/da7280.c                      |  5 ++---
 drivers/input/misc/drv260x.c                     |  5 ++---
 drivers/input/misc/drv2665.c                     |  5 ++---
 drivers/input/misc/drv2667.c                     |  5 ++---
 drivers/input/misc/ibm-panel.c                   |  5 ++---
 drivers/input/misc/kxtj9.c                       |  5 ++---
 drivers/input/misc/mma8450.c                     |  5 ++---
 drivers/input/misc/pcf8574_keypad.c              |  4 ++--
 drivers/input/mouse/cyapa.c                      |  5 ++---
 drivers/input/mouse/elan_i2c_core.c              |  5 ++---
 drivers/input/mouse/synaptics_i2c.c              |  5 ++---
 drivers/input/rmi4/rmi_i2c.c                     |  5 ++---
 drivers/input/rmi4/rmi_smbus.c                   |  5 ++---
 drivers/input/touchscreen/ad7879-i2c.c           |  5 ++---
 drivers/input/touchscreen/ar1021_i2c.c           |  5 ++---
 drivers/input/touchscreen/atmel_mxt_ts.c         |  4 ++--
 drivers/input/touchscreen/auo-pixcir-ts.c        |  5 ++---
 drivers/input/touchscreen/bu21013_ts.c           |  5 ++---
 drivers/input/touchscreen/bu21029_ts.c           |  5 ++---
 drivers/input/touchscreen/chipone_icn8318.c      |  5 ++---
 drivers/input/touchscreen/cy8ctma140.c           |  5 ++---
 drivers/input/touchscreen/cy8ctmg110_ts.c        |  5 ++---
 drivers/input/touchscreen/cyttsp4_i2c.c          |  5 ++---
 drivers/input/touchscreen/cyttsp5.c              |  5 ++---
 drivers/input/touchscreen/cyttsp_i2c.c           |  5 ++---
 drivers/input/touchscreen/edt-ft5x06.c           |  6 +++---
 drivers/input/touchscreen/eeti_ts.c              |  5 ++---
 drivers/input/touchscreen/egalax_ts.c            |  5 ++---
 drivers/input/touchscreen/ektf2127.c             |  5 ++---
 drivers/input/touchscreen/goodix.c               |  5 ++---
 drivers/input/touchscreen/hideep.c               |  5 ++---
 drivers/input/touchscreen/himax_hx83112b.c       |  5 ++---
 drivers/input/touchscreen/hycon-hy46xx.c         |  5 ++---
 drivers/input/touchscreen/ili210x.c              |  6 +++---
 drivers/input/touchscreen/ilitek_ts_i2c.c        |  5 ++---
 drivers/input/touchscreen/iqs5xx.c               |  5 ++---
 drivers/input/touchscreen/max11801_ts.c          |  5 ++---
 drivers/input/touchscreen/mcs5000_ts.c           |  5 ++---
 drivers/input/touchscreen/melfas_mip4.c          |  4 ++--
 drivers/input/touchscreen/migor_ts.c             |  5 ++---
 drivers/input/touchscreen/mms114.c               |  5 ++---
 drivers/input/touchscreen/pixcir_i2c_ts.c        |  6 +++---
 drivers/input/touchscreen/raydium_i2c_ts.c       |  5 ++---
 drivers/input/touchscreen/rohm_bu21023.c         |  5 ++---
 drivers/input/touchscreen/s6sy761.c              |  5 ++---
 drivers/input/touchscreen/silead.c               |  6 +++---
 drivers/input/touchscreen/sis_i2c.c              |  5 ++---
 drivers/input/touchscreen/st1232.c               |  6 +++---
 drivers/input/touchscreen/stmfts.c               |  5 ++---
 drivers/input/touchscreen/sx8654.c               |  6 +++---
 drivers/input/touchscreen/tsc2004.c              |  5 ++---
 drivers/input/touchscreen/tsc2007_core.c         |  6 +++---
 drivers/input/touchscreen/wacom_i2c.c            |  5 ++---
 drivers/input/touchscreen/wdt87xx_i2c.c          |  5 ++---
 drivers/input/touchscreen/zet6223.c              |  5 ++---
 drivers/input/touchscreen/zforce_ts.c            |  5 ++---
 drivers/leds/leds-bd2802.c                       |  5 ++---
 drivers/leds/leds-blinkm.c                       |  5 ++---
 drivers/leds/leds-is31fl32xx.c                   |  5 ++---
 drivers/leds/leds-lm3530.c                       |  5 ++---
 drivers/leds/leds-lm3532.c                       |  5 ++---
 drivers/leds/leds-lm355x.c                       |  6 +++---
 drivers/leds/leds-lm3642.c                       |  5 ++---
 drivers/leds/leds-lm3692x.c                      |  6 +++---
 drivers/leds/leds-lm3697.c                       |  5 ++---
 drivers/leds/leds-lp3944.c                       |  5 ++---
 drivers/leds/leds-lp3952.c                       |  5 ++---
 drivers/leds/leds-lp5521.c                       |  6 +++---
 drivers/leds/leds-lp5523.c                       |  6 +++---
 drivers/leds/leds-lp5562.c                       |  5 ++---
 drivers/leds/leds-lp8501.c                       |  6 +++---
 drivers/leds/leds-lp8860.c                       |  5 ++---
 drivers/leds/leds-pca9532.c                      |  9 ++++-----
 drivers/leds/leds-pca963x.c                      |  6 +++---
 drivers/leds/leds-tca6507.c                      |  5 ++---
 drivers/leds/leds-tlc591xx.c                     |  5 ++---
 drivers/leds/leds-turris-omnia.c                 |  5 ++---
 drivers/macintosh/ams/ams-i2c.c                  |  8 +++-----
 drivers/macintosh/therm_adt746x.c                |  6 +++---
 drivers/macintosh/therm_windtunnel.c             |  5 +++--
 drivers/macintosh/windfarm_ad7417_sensor.c       |  5 ++---
 drivers/macintosh/windfarm_fcu_controls.c        |  5 ++---
 drivers/macintosh/windfarm_lm75_sensor.c         |  8 ++++----
 drivers/macintosh/windfarm_lm87_sensor.c         |  5 ++---
 drivers/macintosh/windfarm_max6690_sensor.c      |  5 ++---
 drivers/macintosh/windfarm_smu_sat.c             |  5 ++---
 drivers/media/dvb-frontends/a8293.c              |  5 ++---
 drivers/media/dvb-frontends/af9013.c             |  5 ++---
 drivers/media/dvb-frontends/af9033.c             |  5 ++---
 drivers/media/dvb-frontends/au8522_decoder.c     |  5 ++---
 drivers/media/dvb-frontends/cxd2099.c            |  5 ++---
 drivers/media/dvb-frontends/cxd2820r_core.c      |  5 ++---
 drivers/media/dvb-frontends/dvb-pll.c            |  5 +++--
 drivers/media/dvb-frontends/helene.c             |  5 ++---
 drivers/media/dvb-frontends/lgdt3306a.c          |  5 ++---
 drivers/media/dvb-frontends/lgdt330x.c           |  5 ++---
 drivers/media/dvb-frontends/m88ds3103.c          |  6 +++---
 drivers/media/dvb-frontends/mn88443x.c           |  6 +++---
 drivers/media/dvb-frontends/mn88472.c            |  5 ++---
 drivers/media/dvb-frontends/mn88473.c            |  5 ++---
 drivers/media/dvb-frontends/mxl692.c             |  5 ++---
 drivers/media/dvb-frontends/rtl2830.c            |  5 ++---
 drivers/media/dvb-frontends/rtl2832.c            |  5 ++---
 drivers/media/dvb-frontends/si2165.c             |  5 ++---
 drivers/media/dvb-frontends/si2168.c             |  5 ++---
 drivers/media/dvb-frontends/sp2.c                |  5 ++---
 drivers/media/dvb-frontends/stv090x.c            |  5 ++---
 drivers/media/dvb-frontends/stv6110x.c           |  5 ++---
 drivers/media/dvb-frontends/tc90522.c            |  6 +++---
 drivers/media/dvb-frontends/tda10071.c           |  5 ++---
 drivers/media/dvb-frontends/ts2020.c             |  5 ++---
 drivers/media/i2c/ad5820.c                       |  5 ++---
 drivers/media/i2c/ad9389b.c                      |  4 ++--
 drivers/media/i2c/adp1653.c                      |  5 ++---
 drivers/media/i2c/adv7170.c                      |  5 ++---
 drivers/media/i2c/adv7175.c                      |  5 ++---
 drivers/media/i2c/adv7180.c                      |  6 +++---
 drivers/media/i2c/adv7183.c                      |  5 ++---
 drivers/media/i2c/adv7393.c                      |  5 ++---
 drivers/media/i2c/adv7511-v4l2.c                 |  4 ++--
 drivers/media/i2c/adv7604.c                      |  6 +++---
 drivers/media/i2c/adv7842.c                      |  5 ++---
 drivers/media/i2c/ak881x.c                       |  5 ++---
 drivers/media/i2c/bt819.c                        |  5 ++---
 drivers/media/i2c/bt856.c                        |  5 ++---
 drivers/media/i2c/bt866.c                        |  5 ++---
 drivers/media/i2c/cs3308.c                       |  5 ++---
 drivers/media/i2c/cs5345.c                       |  5 ++---
 drivers/media/i2c/cs53l32a.c                     |  6 +++---
 drivers/media/i2c/cx25840/cx25840-core.c         |  5 ++---
 drivers/media/i2c/ir-kbd-i2c.c                   |  5 +++--
 drivers/media/i2c/ks0127.c                       |  4 ++--
 drivers/media/i2c/lm3560.c                       |  5 ++---
 drivers/media/i2c/lm3646.c                       |  5 ++---
 drivers/media/i2c/m52790.c                       |  5 ++---
 drivers/media/i2c/m5mols/m5mols_core.c           |  5 ++---
 drivers/media/i2c/ml86v7667.c                    |  5 ++---
 drivers/media/i2c/msp3400-driver.c               |  5 +++--
 drivers/media/i2c/mt9m032.c                      |  5 ++---
 drivers/media/i2c/mt9p031.c                      |  6 +++---
 drivers/media/i2c/mt9t001.c                      |  5 ++---
 drivers/media/i2c/mt9t112.c                      |  5 ++---
 drivers/media/i2c/mt9v011.c                      |  5 ++---
 drivers/media/i2c/mt9v032.c                      |  6 +++---
 drivers/media/i2c/noon010pc30.c                  |  5 ++---
 drivers/media/i2c/ov13858.c                      |  5 ++---
 drivers/media/i2c/ov6650.c                       |  5 ++---
 drivers/media/i2c/ov7640.c                       |  5 ++---
 drivers/media/i2c/ov7670.c                       |  6 +++---
 drivers/media/i2c/ov9640.c                       |  5 ++---
 drivers/media/i2c/rj54n1cb0c.c                   |  5 ++---
 drivers/media/i2c/s5k4ecgx.c                     |  5 ++---
 drivers/media/i2c/s5k6aa.c                       |  5 ++---
 drivers/media/i2c/saa6588.c                      |  5 ++---
 drivers/media/i2c/saa6752hs.c                    |  5 ++---
 drivers/media/i2c/saa7110.c                      |  5 ++---
 drivers/media/i2c/saa7115.c                      |  6 +++---
 drivers/media/i2c/saa7127.c                      |  6 +++---
 drivers/media/i2c/saa717x.c                      |  5 ++---
 drivers/media/i2c/saa7185.c                      |  5 ++---
 drivers/media/i2c/sony-btf-mpx.c                 |  5 ++---
 drivers/media/i2c/sr030pc30.c                    |  5 ++---
 drivers/media/i2c/tda1997x.c                     |  6 +++---
 drivers/media/i2c/tda7432.c                      |  5 ++---
 drivers/media/i2c/tda9840.c                      |  5 ++---
 drivers/media/i2c/tea6415c.c                     |  5 ++---
 drivers/media/i2c/tea6420.c                      |  5 ++---
 drivers/media/i2c/ths7303.c                      |  5 ++---
 drivers/media/i2c/tlv320aic23b.c                 |  5 ++---
 drivers/media/i2c/tvaudio.c                      |  5 +++--
 drivers/media/i2c/tvp514x.c                      |  5 +++--
 drivers/media/i2c/tw2804.c                       |  5 ++---
 drivers/media/i2c/tw9903.c                       |  5 ++---
 drivers/media/i2c/tw9906.c                       |  5 ++---
 drivers/media/i2c/tw9910.c                       |  5 ++---
 drivers/media/i2c/uda1342.c                      |  5 ++---
 drivers/media/i2c/upd64031a.c                    |  5 ++---
 drivers/media/i2c/upd64083.c                     |  5 ++---
 drivers/media/i2c/video-i2c.c                    |  6 +++---
 drivers/media/i2c/vp27smpx.c                     |  5 ++---
 drivers/media/i2c/vpx3220.c                      |  5 ++---
 drivers/media/i2c/vs6624.c                       |  5 ++---
 drivers/media/i2c/wm8739.c                       |  5 ++---
 drivers/media/i2c/wm8775.c                       |  5 ++---
 drivers/media/radio/radio-tea5764.c              |  5 ++---
 drivers/media/radio/saa7706h.c                   |  5 ++---
 drivers/media/radio/tef6862.c                    |  5 ++---
 drivers/media/test-drivers/vidtv/vidtv_demod.c   |  5 ++---
 drivers/media/test-drivers/vidtv/vidtv_tuner.c   |  5 ++---
 drivers/media/tuners/e4000.c                     |  5 ++---
 drivers/media/tuners/fc2580.c                    |  5 ++---
 drivers/media/tuners/m88rs6000t.c                |  5 ++---
 drivers/media/tuners/mt2060.c                    |  5 ++---
 drivers/media/tuners/mxl301rf.c                  |  5 ++---
 drivers/media/tuners/qm1d1b0004.c                |  4 ++--
 drivers/media/tuners/qm1d1c0042.c                |  5 ++---
 drivers/media/tuners/si2157.c                    |  6 +++---
 drivers/media/tuners/tda18212.c                  |  5 ++---
 drivers/media/tuners/tda18250.c                  |  5 ++---
 drivers/media/tuners/tua9001.c                   |  5 ++---
 drivers/media/usb/go7007/s2250-board.c           |  5 ++---
 drivers/media/v4l2-core/tuner-core.c             |  5 ++---
 drivers/mfd/88pm800.c                            |  5 ++---
 drivers/mfd/88pm805.c                            |  5 ++---
 drivers/mfd/aat2870-core.c                       |  5 ++---
 drivers/mfd/act8945a.c                           |  5 ++---
 drivers/mfd/adp5520.c                            |  6 +++---
 drivers/mfd/arizona-i2c.c                        |  6 +++---
 drivers/mfd/as3711.c                             |  5 ++---
 drivers/mfd/as3722.c                             |  5 ++---
 drivers/mfd/atc260x-i2c.c                        |  5 ++---
 drivers/mfd/axp20x-i2c.c                         |  5 ++---
 drivers/mfd/bcm590xx.c                           |  5 ++---
 drivers/mfd/bd9571mwv.c                          |  5 ++---
 drivers/mfd/da903x.c                             |  6 +++---
 drivers/mfd/da9052-i2c.c                         |  6 +++---
 drivers/mfd/da9055-i2c.c                         |  5 ++---
 drivers/mfd/da9062-core.c                        |  6 +++---
 drivers/mfd/da9063-i2c.c                         |  6 +++---
 drivers/mfd/da9150-core.c                        |  5 ++---
 drivers/mfd/khadas-mcu.c                         |  5 ++---
 drivers/mfd/lm3533-core.c                        |  5 ++---
 drivers/mfd/lp3943.c                             |  4 ++--
 drivers/mfd/lp873x.c                             |  5 ++---
 drivers/mfd/lp87565.c                            |  5 ++---
 drivers/mfd/lp8788.c                             |  4 ++--
 drivers/mfd/madera-i2c.c                         |  6 +++---
 drivers/mfd/max14577.c                           |  6 +++---
 drivers/mfd/max77620.c                           |  6 +++---
 drivers/mfd/max77693.c                           |  6 +++---
 drivers/mfd/max77843.c                           |  6 +++---
 drivers/mfd/max8907.c                            |  5 ++---
 drivers/mfd/max8925-i2c.c                        |  5 ++---
 drivers/mfd/max8997.c                            |  6 +++---
 drivers/mfd/max8998.c                            |  6 +++---
 drivers/mfd/mc13xxx-i2c.c                        |  6 +++---
 drivers/mfd/menelaus.c                           |  5 ++---
 drivers/mfd/menf21bmc.c                          |  4 ++--
 drivers/mfd/palmas.c                             |  5 ++---
 drivers/mfd/pcf50633-core.c                      |  5 ++---
 drivers/mfd/rc5t583.c                            |  5 ++---
 drivers/mfd/retu-mfd.c                           |  4 ++--
 drivers/mfd/rk808.c                              |  5 ++---
 drivers/mfd/rohm-bd718x7.c                       |  5 ++---
 drivers/mfd/rsmu_i2c.c                           |  6 +++---
 drivers/mfd/rt5033.c                             |  5 ++---
 drivers/mfd/sec-core.c                           |  5 ++---
 drivers/mfd/si476x-i2c.c                         |  6 +++---
 drivers/mfd/sky81452.c                           |  5 ++---
 drivers/mfd/stmfx.c                              |  5 ++---
 drivers/mfd/stmpe-i2c.c                          |  5 +++--
 drivers/mfd/stpmic1.c                            |  5 ++---
 drivers/mfd/stw481x.c                            |  5 ++---
 drivers/mfd/tc3589x.c                            |  6 +++---
 drivers/mfd/ti-lmu.c                             |  5 +++--
 drivers/mfd/tps6105x.c                           |  5 ++---
 drivers/mfd/tps65010.c                           |  6 +++---
 drivers/mfd/tps6507x.c                           |  5 ++---
 drivers/mfd/tps65086.c                           |  5 ++---
 drivers/mfd/tps65090.c                           |  5 ++---
 drivers/mfd/tps65218.c                           |  5 ++---
 drivers/mfd/tps6586x.c                           |  5 ++---
 drivers/mfd/tps65910.c                           |  6 +++---
 drivers/mfd/tps65912-i2c.c                       |  5 ++---
 drivers/mfd/twl-core.c                           |  5 +++--
 drivers/mfd/twl6040.c                            |  5 ++---
 drivers/mfd/wl1273-core.c                        |  5 ++---
 drivers/mfd/wm831x-i2c.c                         |  6 +++---
 drivers/mfd/wm8350-i2c.c                         |  5 ++---
 drivers/mfd/wm8400-core.c                        |  5 ++---
 drivers/mfd/wm8994-core.c                        |  6 +++---
 drivers/misc/ad525x_dpot-i2c.c                   |  6 +++---
 drivers/misc/apds9802als.c                       |  5 ++---
 drivers/misc/apds990x.c                          |  5 ++---
 drivers/misc/bh1770glc.c                         |  5 ++---
 drivers/misc/ds1682.c                            |  5 ++---
 drivers/misc/eeprom/eeprom.c                     |  5 ++---
 drivers/misc/eeprom/idt_89hpesx.c                |  4 ++--
 drivers/misc/eeprom/max6875.c                    |  5 ++---
 drivers/misc/hmc6352.c                           |  5 ++---
 drivers/misc/ics932s401.c                        |  8 +++-----
 drivers/misc/isl29003.c                          |  5 ++---
 drivers/misc/isl29020.c                          |  5 ++---
 drivers/misc/lis3lv02d/lis3lv02d_i2c.c           |  5 ++---
 drivers/misc/tsl2550.c                           |  5 ++---
 drivers/mtd/maps/pismo.c                         |  5 ++---
 drivers/net/dsa/lan9303_i2c.c                    |  5 ++---
 drivers/net/dsa/microchip/ksz9477_i2c.c          |  5 ++---
 drivers/net/dsa/xrs700x/xrs700x_i2c.c            |  5 ++---
 drivers/net/ethernet/mellanox/mlxsw/i2c.c        |  6 +++---
 drivers/nfc/microread/i2c.c                      |  5 ++---
 drivers/nfc/nfcmrvl/i2c.c                        |  5 ++---
 drivers/nfc/nxp-nci/i2c.c                        |  5 ++---
 drivers/nfc/pn533/i2c.c                          |  5 ++---
 drivers/nfc/pn544/i2c.c                          |  5 ++---
 drivers/nfc/s3fwrn5/i2c.c                        |  5 ++---
 drivers/nfc/st-nci/i2c.c                         |  5 ++---
 drivers/nfc/st21nfca/i2c.c                       |  5 ++---
 drivers/of/unittest.c                            | 10 ++++------
 drivers/pinctrl/pinctrl-mcp23s08_i2c.c           |  5 +++--
 drivers/pinctrl/pinctrl-sx150x.c                 |  6 +++---
 drivers/platform/chrome/cros_ec_i2c.c            |  5 ++---
 drivers/power/supply/adp5061.c                   |  5 ++---
 drivers/power/supply/bq2415x_charger.c           |  6 +++---
 drivers/power/supply/bq24190_charger.c           |  6 +++---
 drivers/power/supply/bq24257_charger.c           |  6 +++---
 drivers/power/supply/bq24735-charger.c           |  5 ++---
 drivers/power/supply/bq2515x_charger.c           |  6 +++---
 drivers/power/supply/bq256xx_charger.c           |  6 +++---
 drivers/power/supply/bq25890_charger.c           |  5 ++---
 drivers/power/supply/bq25980_charger.c           |  6 +++---
 drivers/power/supply/bq27xxx_battery_i2c.c       |  6 +++---
 drivers/power/supply/ds2782_battery.c            |  6 +++---
 drivers/power/supply/lp8727_charger.c            |  4 ++--
 drivers/power/supply/ltc2941-battery-gauge.c     |  5 ++---
 drivers/power/supply/ltc4162-l-charger.c         |  5 ++---
 drivers/power/supply/max14656_charger_detector.c |  5 ++---
 drivers/power/supply/max17040_battery.c          |  6 +++---
 drivers/power/supply/max17042_battery.c          |  6 +++---
 drivers/power/supply/rt5033_battery.c            |  5 ++---
 drivers/power/supply/rt9455_charger.c            |  5 ++---
 drivers/power/supply/sbs-charger.c               |  5 ++---
 drivers/power/supply/sbs-manager.c               |  6 +++---
 drivers/power/supply/smb347-charger.c            |  6 +++---
 drivers/power/supply/ucs1002_power.c             |  5 ++---
 drivers/power/supply/z2_battery.c                |  5 ++---
 drivers/pwm/pwm-pca9685.c                        |  5 ++---
 drivers/regulator/act8865-regulator.c            |  6 +++---
 drivers/regulator/ad5398.c                       |  6 +++---
 drivers/regulator/da9121-regulator.c             |  5 ++---
 drivers/regulator/fan53555.c                     |  6 +++---
 drivers/regulator/isl6271a-regulator.c           |  6 +++---
 drivers/regulator/lp3972.c                       |  5 ++---
 drivers/regulator/lp872x.c                       |  5 +++--
 drivers/regulator/lp8755.c                       |  5 ++---
 drivers/regulator/ltc3589.c                      |  6 +++---
 drivers/regulator/max1586.c                      |  5 ++---
 drivers/regulator/max8649.c                      |  5 ++---
 drivers/regulator/max8660.c                      |  6 +++---
 drivers/regulator/max8952.c                      |  5 ++---
 drivers/regulator/max8973-regulator.c            |  6 +++---
 drivers/regulator/pca9450-regulator.c            |  5 ++---
 drivers/regulator/pfuze100-regulator.c           |  6 +++---
 drivers/regulator/pv88080-regulator.c            |  6 +++---
 drivers/regulator/rpi-panel-attiny-regulator.c   |  5 ++---
 drivers/regulator/tps51632-regulator.c           |  5 ++---
 drivers/regulator/tps62360-regulator.c           |  6 +++---
 drivers/regulator/tps6286x-regulator.c           |  5 ++---
 drivers/regulator/tps65023-regulator.c           |  6 +++---
 drivers/rtc/rtc-ds1307.c                         |  6 +++---
 drivers/rtc/rtc-isl1208.c                        |  1 +
 drivers/rtc/rtc-m41t80.c                         |  1 +
 drivers/rtc/rtc-rs5c372.c                        |  1 +
 drivers/spi/spi-sc18is602.c                      |  6 +++---
 drivers/spi/spi-xcomm.c                          |  5 ++---
 drivers/staging/iio/addac/adt7316-i2c.c          |  6 +++---
 drivers/staging/iio/impedance-analyzer/ad5933.c  |  6 +++---
 drivers/staging/iio/meter/ade7854-i2c.c          |  5 ++---
 drivers/staging/most/i2c/i2c.c                   |  4 ++--
 drivers/staging/olpc_dcon/olpc_dcon.c            |  4 ++--
 drivers/tty/serial/sc16is7xx.c                   |  6 +++---
 drivers/usb/misc/usb251xb.c                      |  5 ++---
 drivers/usb/misc/usb3503.c                       |  5 ++---
 drivers/usb/misc/usb4604.c                       |  5 ++---
 drivers/usb/phy/phy-isp1301-omap.c               |  4 ++--
 drivers/usb/phy/phy-isp1301.c                    |  5 ++---
 drivers/usb/typec/anx7411.c                      |  5 ++---
 drivers/usb/typec/hd3ss3220.c                    |  5 ++---
 drivers/usb/typec/tcpm/fusb302.c                 |  5 ++---
 drivers/usb/typec/tcpm/tcpci.c                   |  5 ++---
 drivers/usb/typec/tcpm/tcpci_maxim.c             |  4 ++--
 drivers/usb/typec/tcpm/tcpci_rt1711h.c           |  5 ++---
 drivers/usb/typec/ucsi/ucsi_ccg.c                |  5 ++---
 drivers/usb/typec/ucsi/ucsi_stm32g0.c            |  4 ++--
 drivers/video/backlight/adp8860_bl.c             |  6 +++---
 drivers/video/backlight/adp8870_bl.c             |  6 +++---
 drivers/video/backlight/arcxcnn_bl.c             |  4 ++--
 drivers/video/backlight/bd6107.c                 |  5 ++---
 drivers/video/backlight/lm3630a_bl.c             |  5 ++---
 drivers/video/backlight/lm3639_bl.c              |  5 ++---
 drivers/video/backlight/lp855x_bl.c              |  5 +++--
 drivers/video/backlight/lv5207lp.c               |  5 ++---
 drivers/video/backlight/tosa_bl.c                |  5 ++---
 drivers/video/fbdev/matrox/matroxfb_maven.c      |  5 ++---
 drivers/w1/masters/ds2482.c                      |  5 ++---
 drivers/watchdog/ziirave_wdt.c                   |  5 ++---
 include/linux/i2c.h                              | 12 +++++++-----
 sound/aoa/codecs/onyx.c                          |  5 ++---
 sound/aoa/codecs/tas.c                           |  5 ++---
 sound/pci/hda/cs35l41_hda_i2c.c                  |  4 ++--
 sound/ppc/keywest.c                              |  5 ++---
 sound/soc/codecs/es8326.c                        |  5 ++---
 sound/soc/codecs/max98396.c                      |  6 +++---
 sound/soc/codecs/src4xxx-i2c.c                   |  5 ++---
 sound/soc/codecs/tas2780.c                       |  5 ++---
 607 files changed, 1429 insertions(+), 1790 deletions(-)


base-commit: 147307c69ba4441ee90c1f8ce8edf5df4ea60f67
-- 
2.38.1


^ permalink raw reply	[flat|nested] 101+ messages in thread

* [PATCH 191/606] Input: as5011 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 192/606] Input: adp5588-keys " Uwe Kleine-König
                   ` (83 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Andy Shevchenko, Hans Verkuil, Crt Mori,
	Heikki Krogerus
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/joystick/as5011.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/joystick/as5011.c b/drivers/input/joystick/as5011.c
index 2beda29021a3..3b88f0b49e01 100644
--- a/drivers/input/joystick/as5011.c
+++ b/drivers/input/joystick/as5011.c
@@ -212,8 +212,7 @@ static int as5011_configure_chip(struct as5011_device *as5011,
 	return 0;
 }
 
-static int as5011_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int as5011_probe(struct i2c_client *client)
 {
 	const struct as5011_platform_data *plat_data;
 	struct as5011_device *as5011;
@@ -349,7 +348,7 @@ static struct i2c_driver as5011_driver = {
 	.driver = {
 		.name = "as5011",
 	},
-	.probe		= as5011_probe,
+	.probe_new	= as5011_probe,
 	.remove		= as5011_remove,
 	.id_table	= as5011_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 192/606] Input: adp5588-keys - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 191/606] Input: as5011 - Convert to i2c's .probe_new() Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-21  9:48   ` Hennerich, Michael
  2022-12-02 10:52   ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 193/606] Input: adp5589-keys " Uwe Kleine-König
                   ` (82 subsequent siblings)
  84 siblings, 2 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Michael Hennerich, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/adp5588-keys.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c
index 7cd83c8e7110..72ae5ce72956 100644
--- a/drivers/input/keyboard/adp5588-keys.c
+++ b/drivers/input/keyboard/adp5588-keys.c
@@ -718,8 +718,7 @@ static void adp5588_disable_regulator(void *reg)
 	regulator_disable(reg);
 }
 
-static int adp5588_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int adp5588_probe(struct i2c_client *client)
 {
 	struct adp5588_kpad *kpad;
 	struct input_dev *input;
@@ -867,7 +866,7 @@ static struct i2c_driver adp5588_driver = {
 		.of_match_table = adp5588_of_match,
 		.pm   = pm_sleep_ptr(&adp5588_dev_pm_ops),
 	},
-	.probe    = adp5588_probe,
+	.probe_new = adp5588_probe,
 	.remove   = adp5588_remove,
 	.id_table = adp5588_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 193/606] Input: adp5589-keys - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 191/606] Input: as5011 - Convert to i2c's .probe_new() Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 192/606] Input: adp5588-keys " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 194/606] Input: cap11xx " Uwe Kleine-König
                   ` (81 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/adp5589-keys.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c
index bdd264459a97..25c9f6344bf2 100644
--- a/drivers/input/keyboard/adp5589-keys.c
+++ b/drivers/input/keyboard/adp5589-keys.c
@@ -942,9 +942,9 @@ static void adp5589_clear_config(void *data)
 	adp5589_write(client, kpad->var->reg(ADP5589_GENERAL_CFG), 0);
 }
 
-static int adp5589_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int adp5589_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct adp5589_kpad *kpad;
 	const struct adp5589_kpad_platform_data *pdata =
 		dev_get_platdata(&client->dev);
@@ -1054,7 +1054,7 @@ static struct i2c_driver adp5589_driver = {
 		.name = KBUILD_MODNAME,
 		.pm = &adp5589_dev_pm_ops,
 	},
-	.probe = adp5589_probe,
+	.probe_new = adp5589_probe,
 	.id_table = adp5589_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 194/606] Input: cap11xx - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (2 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 193/606] Input: adp5589-keys " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 195/606] Input: dlink-dir685-touchkeys " Uwe Kleine-König
                   ` (80 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/cap11xx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c
index 7c85343cd32f..79afd0386e3f 100644
--- a/drivers/input/keyboard/cap11xx.c
+++ b/drivers/input/keyboard/cap11xx.c
@@ -321,9 +321,9 @@ static int cap11xx_init_leds(struct device *dev,
 }
 #endif
 
-static int cap11xx_i2c_probe(struct i2c_client *i2c_client,
-			     const struct i2c_device_id *id)
+static int cap11xx_i2c_probe(struct i2c_client *i2c_client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(i2c_client);
 	struct device *dev = &i2c_client->dev;
 	struct cap11xx_priv *priv;
 	struct device_node *node;
@@ -503,7 +503,7 @@ static struct i2c_driver cap11xx_i2c_driver = {
 		.of_match_table = cap11xx_dt_ids,
 	},
 	.id_table	= cap11xx_i2c_ids,
-	.probe		= cap11xx_i2c_probe,
+	.probe_new	= cap11xx_i2c_probe,
 };
 
 module_i2c_driver(cap11xx_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 195/606] Input: dlink-dir685-touchkeys - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (3 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 194/606] Input: cap11xx " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 196/606] Input: lm8323 " Uwe Kleine-König
                   ` (79 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Linus Walleij, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/dlink-dir685-touchkeys.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/dlink-dir685-touchkeys.c b/drivers/input/keyboard/dlink-dir685-touchkeys.c
index 3b674001cd15..ddba2bc861da 100644
--- a/drivers/input/keyboard/dlink-dir685-touchkeys.c
+++ b/drivers/input/keyboard/dlink-dir685-touchkeys.c
@@ -59,8 +59,7 @@ static irqreturn_t dir685_tk_irq_thread(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
-static int dir685_tk_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int dir685_tk_probe(struct i2c_client *client)
 {
 	static const u8 bl_data[] = { 0xa7, 0x40 };
 	struct device *dev = &client->dev;
@@ -146,7 +145,7 @@ static struct i2c_driver dir685_tk_i2c_driver = {
 		.name	= "dlink-dir685-touchkeys",
 		.of_match_table = of_match_ptr(dir685_tk_of_match),
 	},
-	.probe		= dir685_tk_probe,
+	.probe_new	= dir685_tk_probe,
 	.id_table	= dir685_tk_id,
 };
 module_i2c_driver(dir685_tk_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 196/606] Input: lm8323 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (4 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 195/606] Input: dlink-dir685-touchkeys " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 197/606] Input: lm8333 " Uwe Kleine-König
                   ` (78 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Greg Kroah-Hartman, Vladimir Oltean,
	Peter Rosin
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/lm8323.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c
index 407dd2ad6302..4846eccb0a93 100644
--- a/drivers/input/keyboard/lm8323.c
+++ b/drivers/input/keyboard/lm8323.c
@@ -615,8 +615,7 @@ static ssize_t lm8323_set_disable(struct device *dev,
 }
 static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable);
 
-static int lm8323_probe(struct i2c_client *client,
-				  const struct i2c_device_id *id)
+static int lm8323_probe(struct i2c_client *client)
 {
 	struct lm8323_platform_data *pdata = dev_get_platdata(&client->dev);
 	struct input_dev *idev;
@@ -829,7 +828,7 @@ static struct i2c_driver lm8323_i2c_driver = {
 		.name	= "lm8323",
 		.pm	= &lm8323_pm_ops,
 	},
-	.probe		= lm8323_probe,
+	.probe_new	= lm8323_probe,
 	.remove		= lm8323_remove,
 	.id_table	= lm8323_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 197/606] Input: lm8333 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (5 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 196/606] Input: lm8323 " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 198/606] Input: max7359_keypad " Uwe Kleine-König
                   ` (77 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Andy Shevchenko, Peter Rosin, Jonathan Cameron
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/lm8333.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/lm8333.c b/drivers/input/keyboard/lm8333.c
index 3052cd6dedac..7457c3220f90 100644
--- a/drivers/input/keyboard/lm8333.c
+++ b/drivers/input/keyboard/lm8333.c
@@ -125,8 +125,7 @@ static irqreturn_t lm8333_irq_thread(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
-static int lm8333_probe(struct i2c_client *client,
-				  const struct i2c_device_id *id)
+static int lm8333_probe(struct i2c_client *client)
 {
 	const struct lm8333_platform_data *pdata =
 			dev_get_platdata(&client->dev);
@@ -219,7 +218,7 @@ static struct i2c_driver lm8333_driver = {
 	.driver = {
 		.name		= "lm8333",
 	},
-	.probe		= lm8333_probe,
+	.probe_new	= lm8333_probe,
 	.remove		= lm8333_remove,
 	.id_table	= lm8333_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 198/606] Input: max7359_keypad - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (6 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 197/606] Input: lm8333 " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 199/606] Input: mcs_touchkey " Uwe Kleine-König
                   ` (76 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/max7359_keypad.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/max7359_keypad.c b/drivers/input/keyboard/max7359_keypad.c
index 62ce93462955..1bba11ed4132 100644
--- a/drivers/input/keyboard/max7359_keypad.c
+++ b/drivers/input/keyboard/max7359_keypad.c
@@ -155,8 +155,7 @@ static void max7359_initialize(struct i2c_client *client)
 	max7359_fall_deepsleep(client);
 }
 
-static int max7359_probe(struct i2c_client *client,
-					const struct i2c_device_id *id)
+static int max7359_probe(struct i2c_client *client)
 {
 	const struct matrix_keymap_data *keymap_data =
 			dev_get_platdata(&client->dev);
@@ -283,7 +282,7 @@ static struct i2c_driver max7359_i2c_driver = {
 		.name = "max7359",
 		.pm   = &max7359_pm,
 	},
-	.probe		= max7359_probe,
+	.probe_new	= max7359_probe,
 	.id_table	= max7359_ids,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 199/606] Input: mcs_touchkey - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (7 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 198/606] Input: max7359_keypad " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 200/606] Input: mpr121_touchkey " Uwe Kleine-König
                   ` (75 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jonathan Cameron, Andy Shevchenko,
	Greg Kroah-Hartman, Luca Ceresoli
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/mcs_touchkey.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c
index ac1637a3389e..34683458524c 100644
--- a/drivers/input/keyboard/mcs_touchkey.c
+++ b/drivers/input/keyboard/mcs_touchkey.c
@@ -92,9 +92,9 @@ static irqreturn_t mcs_touchkey_interrupt(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int mcs_touchkey_probe(struct i2c_client *client,
-		const struct i2c_device_id *id)
+static int mcs_touchkey_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	const struct mcs_platform_data *pdata;
 	struct mcs_touchkey_data *data;
 	struct input_dev *input_dev;
@@ -260,7 +260,7 @@ static struct i2c_driver mcs_touchkey_driver = {
 		.name	= "mcs_touchkey",
 		.pm	= &mcs_touchkey_pm_ops,
 	},
-	.probe		= mcs_touchkey_probe,
+	.probe_new	= mcs_touchkey_probe,
 	.remove		= mcs_touchkey_remove,
 	.shutdown       = mcs_touchkey_shutdown,
 	.id_table	= mcs_touchkey_id,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 200/606] Input: mpr121_touchkey - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (8 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 199/606] Input: mcs_touchkey " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 201/606] Input: qt1070 " Uwe Kleine-König
                   ` (74 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/mpr121_touchkey.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/mpr121_touchkey.c b/drivers/input/keyboard/mpr121_touchkey.c
index 230ab3d50b9e..4610ef55903c 100644
--- a/drivers/input/keyboard/mpr121_touchkey.c
+++ b/drivers/input/keyboard/mpr121_touchkey.c
@@ -230,8 +230,7 @@ static int mpr121_phys_init(struct mpr121_touchkey *mpr121,
 	return ret;
 }
 
-static int mpr_touchkey_probe(struct i2c_client *client,
-			      const struct i2c_device_id *id)
+static int mpr_touchkey_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct regulator *vdd_supply;
@@ -390,7 +389,7 @@ static struct i2c_driver mpr_touchkey_driver = {
 		.of_match_table = of_match_ptr(mpr121_touchkey_dt_match_table),
 	},
 	.id_table	= mpr121_id,
-	.probe		= mpr_touchkey_probe,
+	.probe_new	= mpr_touchkey_probe,
 };
 
 module_i2c_driver(mpr_touchkey_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 201/606] Input: qt1070 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (9 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 200/606] Input: mpr121_touchkey " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 202/606] Input: qt2160 " Uwe Kleine-König
                   ` (73 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Miguel Ojeda, Andy Shevchenko, Maximilian Luz,
	Petr Machata
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/qt1070.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c
index 9fcce18b1d65..533bb0375223 100644
--- a/drivers/input/keyboard/qt1070.c
+++ b/drivers/input/keyboard/qt1070.c
@@ -126,8 +126,7 @@ static irqreturn_t qt1070_interrupt(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int qt1070_probe(struct i2c_client *client,
-				const struct i2c_device_id *id)
+static int qt1070_probe(struct i2c_client *client)
 {
 	struct qt1070_data *data;
 	struct input_dev *input;
@@ -274,7 +273,7 @@ static struct i2c_driver qt1070_driver = {
 		.pm	= &qt1070_pm_ops,
 	},
 	.id_table	= qt1070_id,
-	.probe		= qt1070_probe,
+	.probe_new	= qt1070_probe,
 	.remove		= qt1070_remove,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 202/606] Input: qt2160 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (10 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 201/606] Input: qt1070 " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 203/606] Input: tca6416-keypad " Uwe Kleine-König
                   ` (72 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Miguel Ojeda, Luca Ceresoli, Petr Machata,
	Krzysztof Hałasa
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/qt2160.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/qt2160.c b/drivers/input/keyboard/qt2160.c
index 382b1519218c..04d2ee6ff577 100644
--- a/drivers/input/keyboard/qt2160.c
+++ b/drivers/input/keyboard/qt2160.c
@@ -338,8 +338,7 @@ static bool qt2160_identify(struct i2c_client *client)
 	return true;
 }
 
-static int qt2160_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int qt2160_probe(struct i2c_client *client)
 {
 	struct qt2160_data *qt2160;
 	struct input_dev *input;
@@ -461,7 +460,7 @@ static struct i2c_driver qt2160_driver = {
 	},
 
 	.id_table	= qt2160_idtable,
-	.probe		= qt2160_probe,
+	.probe_new	= qt2160_probe,
 	.remove		= qt2160_remove,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 203/606] Input: tca6416-keypad - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (11 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 202/606] Input: qt2160 " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 204/606] Input: tca8418_keypad " Uwe Kleine-König
                   ` (71 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Greg Kroah-Hartman, Andy Shevchenko,
	Luca Ceresoli, Krzysztof Hałasa
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/tca6416-keypad.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c
index afcdfbb002ff..281d9ec163cc 100644
--- a/drivers/input/keyboard/tca6416-keypad.c
+++ b/drivers/input/keyboard/tca6416-keypad.c
@@ -194,9 +194,9 @@ static int tca6416_setup_registers(struct tca6416_keypad_chip *chip)
 	return 0;
 }
 
-static int tca6416_keypad_probe(struct i2c_client *client,
-				   const struct i2c_device_id *id)
+static int tca6416_keypad_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct tca6416_keys_platform_data *pdata;
 	struct tca6416_keypad_chip *chip;
 	struct input_dev *input;
@@ -352,7 +352,7 @@ static struct i2c_driver tca6416_keypad_driver = {
 		.name	= "tca6416-keypad",
 		.pm	= &tca6416_keypad_dev_pm_ops,
 	},
-	.probe		= tca6416_keypad_probe,
+	.probe_new	= tca6416_keypad_probe,
 	.remove		= tca6416_keypad_remove,
 	.id_table	= tca6416_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 204/606] Input: tca8418_keypad - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (12 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 203/606] Input: tca6416-keypad " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:38 ` [PATCH 205/606] Input: tm2-touchkey " Uwe Kleine-König
                   ` (70 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/tca8418_keypad.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/tca8418_keypad.c b/drivers/input/keyboard/tca8418_keypad.c
index 3bbd7e652533..3d7492f38337 100644
--- a/drivers/input/keyboard/tca8418_keypad.c
+++ b/drivers/input/keyboard/tca8418_keypad.c
@@ -259,8 +259,7 @@ static int tca8418_configure(struct tca8418_keypad *keypad_data,
 	return error;
 }
 
-static int tca8418_keypad_probe(struct i2c_client *client,
-				const struct i2c_device_id *id)
+static int tca8418_keypad_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct tca8418_keypad *keypad_data;
@@ -371,7 +370,7 @@ static struct i2c_driver tca8418_keypad_driver = {
 		.name	= "tca8418_keypad",
 		.of_match_table = tca8418_dt_ids,
 	},
-	.probe		= tca8418_keypad_probe,
+	.probe_new	= tca8418_keypad_probe,
 	.id_table	= tca8418_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 205/606] Input: tm2-touchkey - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (13 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 204/606] Input: tca8418_keypad " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 206/606] Input: ad714x-i2c " Uwe Kleine-König
                   ` (69 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:38 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/keyboard/tm2-touchkey.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c
index 632cd6c1c8d4..086aafaf0418 100644
--- a/drivers/input/keyboard/tm2-touchkey.c
+++ b/drivers/input/keyboard/tm2-touchkey.c
@@ -181,8 +181,7 @@ static irqreturn_t tm2_touchkey_irq_handler(int irq, void *devid)
 	return IRQ_HANDLED;
 }
 
-static int tm2_touchkey_probe(struct i2c_client *client,
-			      const struct i2c_device_id *id)
+static int tm2_touchkey_probe(struct i2c_client *client)
 {
 	struct device_node *np = client->dev.of_node;
 	struct tm2_touchkey_data *touchkey;
@@ -357,7 +356,7 @@ static struct i2c_driver tm2_touchkey_driver = {
 		.pm = &tm2_touchkey_pm_ops,
 		.of_match_table = of_match_ptr(tm2_touchkey_of_match),
 	},
-	.probe = tm2_touchkey_probe,
+	.probe_new = tm2_touchkey_probe,
 	.id_table = tm2_touchkey_id_table,
 };
 module_i2c_driver(tm2_touchkey_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 206/606] Input: ad714x-i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (14 preceding siblings ...)
  2022-11-18 22:38 ` [PATCH 205/606] Input: tm2-touchkey " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 207/606] Input: adxl34x-i2c " Uwe Kleine-König
                   ` (68 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/ad714x-i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/ad714x-i2c.c b/drivers/input/misc/ad714x-i2c.c
index efeef135007a..5ef518a50e63 100644
--- a/drivers/input/misc/ad714x-i2c.c
+++ b/drivers/input/misc/ad714x-i2c.c
@@ -69,8 +69,7 @@ static int ad714x_i2c_read(struct ad714x_chip *chip,
 	return 0;
 }
 
-static int ad714x_i2c_probe(struct i2c_client *client,
-					const struct i2c_device_id *id)
+static int ad714x_i2c_probe(struct i2c_client *client)
 {
 	struct ad714x_chip *chip;
 
@@ -99,7 +98,7 @@ static struct i2c_driver ad714x_i2c_driver = {
 		.name = "ad714x_captouch",
 		.pm   = &ad714x_i2c_pm,
 	},
-	.probe    = ad714x_i2c_probe,
+	.probe_new = ad714x_i2c_probe,
 	.id_table = ad714x_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 207/606] Input: adxl34x-i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (15 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 206/606] Input: ad714x-i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 208/606] Input: apanel " Uwe Kleine-König
                   ` (67 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jonathan Cameron, Hans Verkuil, Petr Machata,
	Andy Shevchenko
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/adxl34x-i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/adxl34x-i2c.c b/drivers/input/misc/adxl34x-i2c.c
index 5be636aaa94f..a8ceea36d80a 100644
--- a/drivers/input/misc/adxl34x-i2c.c
+++ b/drivers/input/misc/adxl34x-i2c.c
@@ -74,8 +74,7 @@ static const struct adxl34x_bus_ops adxl34x_i2c_bops = {
 	.read_block	= adxl34x_i2c_read_block,
 };
 
-static int adxl34x_i2c_probe(struct i2c_client *client,
-				       const struct i2c_device_id *id)
+static int adxl34x_i2c_probe(struct i2c_client *client)
 {
 	struct adxl34x *ac;
 	int error;
@@ -159,7 +158,7 @@ static struct i2c_driver adxl34x_driver = {
 		.pm = &adxl34x_i2c_pm,
 		.of_match_table = adxl34x_of_id,
 	},
-	.probe    = adxl34x_i2c_probe,
+	.probe_new = adxl34x_i2c_probe,
 	.remove   = adxl34x_i2c_remove,
 	.id_table = adxl34x_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 208/606] Input: apanel - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (16 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 207/606] Input: adxl34x-i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 209/606] Input: atmel_captouch " Uwe Kleine-König
                   ` (66 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/apanel.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c
index 7276657ad7ca..f42d3219cdcc 100644
--- a/drivers/input/misc/apanel.c
+++ b/drivers/input/misc/apanel.c
@@ -120,8 +120,7 @@ static int mail_led_set(struct led_classdev *led,
 	return i2c_smbus_write_word_data(ap->client, 0x10, led_bits);
 }
 
-static int apanel_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int apanel_probe(struct i2c_client *client)
 {
 	struct apanel *ap;
 	struct input_dev *idev;
@@ -202,7 +201,7 @@ static struct i2c_driver apanel_driver = {
 	.driver = {
 		.name = APANEL,
 	},
-	.probe		= apanel_probe,
+	.probe_new	= apanel_probe,
 	.shutdown	= apanel_shutdown,
 	.id_table	= apanel_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 209/606] Input: atmel_captouch - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (17 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 208/606] Input: apanel " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-12-06 10:49   ` Jean Delvare
  2022-11-18 22:39 ` [PATCH 210/606] Input: bma150 " Uwe Kleine-König
                   ` (65 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, Jean Delvare
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input,
	linux-arm-kernel, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/atmel_captouch.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/atmel_captouch.c b/drivers/input/misc/atmel_captouch.c
index 156c699a8913..d9704b174d3a 100644
--- a/drivers/input/misc/atmel_captouch.c
+++ b/drivers/input/misc/atmel_captouch.c
@@ -161,8 +161,7 @@ static irqreturn_t atmel_captouch_isr(int irq, void *data)
 /*
  * Probe function to setup the device, input system and interrupt
  */
-static int atmel_captouch_probe(struct i2c_client *client,
-		const struct i2c_device_id *id)
+static int atmel_captouch_probe(struct i2c_client *client)
 {
 	struct atmel_captouch_device *capdev;
 	struct device *dev = &client->dev;
@@ -264,7 +263,7 @@ static const struct i2c_device_id atmel_captouch_id[] = {
 MODULE_DEVICE_TABLE(i2c, atmel_captouch_id);
 
 static struct i2c_driver atmel_captouch_driver = {
-	.probe		= atmel_captouch_probe,
+	.probe_new	= atmel_captouch_probe,
 	.id_table	= atmel_captouch_id,
 	.driver		= {
 		.name	= "atmel_captouch",
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 210/606] Input: bma150 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (18 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 209/606] Input: atmel_captouch " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 211/606] Input: cma3000_d0x_i2c " Uwe Kleine-König
                   ` (64 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Srinivas Pandruvada, Ajay Gupta,
	Marek Behún, Vladimir Oltean
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/bma150.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c
index 84fe394da7a6..3f9da5c3cb53 100644
--- a/drivers/input/misc/bma150.c
+++ b/drivers/input/misc/bma150.c
@@ -414,8 +414,7 @@ static int bma150_initialize(struct bma150_data *bma150,
 	return bma150_set_mode(bma150, BMA150_MODE_SLEEP);
 }
 
-static int bma150_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int bma150_probe(struct i2c_client *client)
 {
 	const struct bma150_platform_data *pdata =
 			dev_get_platdata(&client->dev);
@@ -552,7 +551,7 @@ static struct i2c_driver bma150_driver = {
 	},
 	.class		= I2C_CLASS_HWMON,
 	.id_table	= bma150_id,
-	.probe		= bma150_probe,
+	.probe_new	= bma150_probe,
 	.remove		= bma150_remove,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 211/606] Input: cma3000_d0x_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (19 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 210/606] Input: bma150 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 212/606] Input: da7280 " Uwe Kleine-König
                   ` (63 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jonathan Cameron, Krzysztof Hałasa,
	Corey Minyard, Maximilian Luz
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/cma3000_d0x_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/cma3000_d0x_i2c.c b/drivers/input/misc/cma3000_d0x_i2c.c
index 3b23210c46b7..75442c1230b1 100644
--- a/drivers/input/misc/cma3000_d0x_i2c.c
+++ b/drivers/input/misc/cma3000_d0x_i2c.c
@@ -44,8 +44,7 @@ static const struct cma3000_bus_ops cma3000_i2c_bops = {
 	.write		= cma3000_i2c_set,
 };
 
-static int cma3000_i2c_probe(struct i2c_client *client,
-					const struct i2c_device_id *id)
+static int cma3000_i2c_probe(struct i2c_client *client)
 {
 	struct cma3000_accl_data *data;
 
@@ -100,7 +99,7 @@ static const struct i2c_device_id cma3000_i2c_id[] = {
 MODULE_DEVICE_TABLE(i2c, cma3000_i2c_id);
 
 static struct i2c_driver cma3000_i2c_driver = {
-	.probe		= cma3000_i2c_probe,
+	.probe_new	= cma3000_i2c_probe,
 	.remove		= cma3000_i2c_remove,
 	.id_table	= cma3000_i2c_id,
 	.driver = {
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 212/606] Input: da7280 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (20 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 211/606] Input: cma3000_d0x_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 213/606] Input: drv260x " Uwe Kleine-König
                   ` (62 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Support Opensource, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/da7280.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/da7280.c b/drivers/input/misc/da7280.c
index b08610d6e575..dcdea33b1a8f 100644
--- a/drivers/input/misc/da7280.c
+++ b/drivers/input/misc/da7280.c
@@ -1140,8 +1140,7 @@ static int da7280_init(struct da7280_haptic *haptics)
 	return error;
 }
 
-static int da7280_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int da7280_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct da7280_haptic *haptics;
@@ -1322,7 +1321,7 @@ static struct i2c_driver da7280_driver = {
 		.of_match_table = of_match_ptr(da7280_of_match),
 		.pm = &da7280_pm_ops,
 	},
-	.probe = da7280_probe,
+	.probe_new = da7280_probe,
 	.id_table = da7280_i2c_id,
 };
 module_i2c_driver(da7280_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 213/606] Input: drv260x - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (21 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 212/606] Input: da7280 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 214/606] Input: drv2665 " Uwe Kleine-König
                   ` (61 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/drv260x.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
index 0efe56f49aa9..3a51ee5e935a 100644
--- a/drivers/input/misc/drv260x.c
+++ b/drivers/input/misc/drv260x.c
@@ -457,8 +457,7 @@ static const struct regmap_config drv260x_regmap_config = {
 	.cache_type = REGCACHE_NONE,
 };
 
-static int drv260x_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int drv260x_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct drv260x_data *haptics;
@@ -654,7 +653,7 @@ static const struct of_device_id drv260x_of_match[] = {
 MODULE_DEVICE_TABLE(of, drv260x_of_match);
 
 static struct i2c_driver drv260x_driver = {
-	.probe		= drv260x_probe,
+	.probe_new	= drv260x_probe,
 	.driver		= {
 		.name	= "drv260x-haptics",
 		.of_match_table = drv260x_of_match,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 214/606] Input: drv2665 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (22 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 213/606] Input: drv260x " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 215/606] Input: drv2667 " Uwe Kleine-König
                   ` (60 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/drv2665.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/drv2665.c b/drivers/input/misc/drv2665.c
index 21913e8085d7..c2a2ff980c06 100644
--- a/drivers/input/misc/drv2665.c
+++ b/drivers/input/misc/drv2665.c
@@ -156,8 +156,7 @@ static const struct regmap_config drv2665_regmap_config = {
 	.cache_type = REGCACHE_NONE,
 };
 
-static int drv2665_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int drv2665_probe(struct i2c_client *client)
 {
 	struct drv2665_data *haptics;
 	int error;
@@ -298,7 +297,7 @@ MODULE_DEVICE_TABLE(of, drv2665_of_match);
 #endif
 
 static struct i2c_driver drv2665_driver = {
-	.probe		= drv2665_probe,
+	.probe_new	= drv2665_probe,
 	.driver		= {
 		.name	= "drv2665-haptics",
 		.of_match_table = of_match_ptr(drv2665_of_match),
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 215/606] Input: drv2667 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (23 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 214/606] Input: drv2665 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 216/606] Input: ibm-panel " Uwe Kleine-König
                   ` (59 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/drv2667.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
index 3f67b9b010bf..da7ac63dce4c 100644
--- a/drivers/input/misc/drv2667.c
+++ b/drivers/input/misc/drv2667.c
@@ -333,8 +333,7 @@ static const struct regmap_config drv2667_regmap_config = {
 	.cache_type = REGCACHE_NONE,
 };
 
-static int drv2667_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int drv2667_probe(struct i2c_client *client)
 {
 	struct drv2667_data *haptics;
 	int error;
@@ -475,7 +474,7 @@ MODULE_DEVICE_TABLE(of, drv2667_of_match);
 #endif
 
 static struct i2c_driver drv2667_driver = {
-	.probe		= drv2667_probe,
+	.probe_new	= drv2667_probe,
 	.driver		= {
 		.name	= "drv2667-haptics",
 		.of_match_table = of_match_ptr(drv2667_of_match),
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 216/606] Input: ibm-panel - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (24 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 215/606] Input: drv2667 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 217/606] Input: kxtj9 " Uwe Kleine-König
                   ` (58 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Eddie James, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/ibm-panel.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/ibm-panel.c b/drivers/input/misc/ibm-panel.c
index a8fba0054719..3969ffc1bc8d 100644
--- a/drivers/input/misc/ibm-panel.c
+++ b/drivers/input/misc/ibm-panel.c
@@ -119,8 +119,7 @@ static int ibm_panel_i2c_slave_cb(struct i2c_client *client,
 	return 0;
 }
 
-static int ibm_panel_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int ibm_panel_probe(struct i2c_client *client)
 {
 	struct ibm_panel *panel;
 	int i;
@@ -190,7 +189,7 @@ static struct i2c_driver ibm_panel_driver = {
 		.name = DEVICE_NAME,
 		.of_match_table = ibm_panel_match,
 	},
-	.probe = ibm_panel_probe,
+	.probe_new = ibm_panel_probe,
 	.remove = ibm_panel_remove,
 };
 module_i2c_driver(ibm_panel_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 217/606] Input: kxtj9 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (25 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 216/606] Input: ibm-panel " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 218/606] Input: mma8450 " Uwe Kleine-König
                   ` (57 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/kxtj9.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/kxtj9.c b/drivers/input/misc/kxtj9.c
index bbb81617c2b2..7e73e6e0730f 100644
--- a/drivers/input/misc/kxtj9.c
+++ b/drivers/input/misc/kxtj9.c
@@ -385,8 +385,7 @@ static int kxtj9_verify(struct kxtj9_data *tj9)
 	return retval;
 }
 
-static int kxtj9_probe(struct i2c_client *client,
-		       const struct i2c_device_id *id)
+static int kxtj9_probe(struct i2c_client *client)
 {
 	const struct kxtj9_platform_data *pdata =
 			dev_get_platdata(&client->dev);
@@ -539,7 +538,7 @@ static struct i2c_driver kxtj9_driver = {
 		.name	= NAME,
 		.pm	= &kxtj9_pm_ops,
 	},
-	.probe		= kxtj9_probe,
+	.probe_new	= kxtj9_probe,
 	.id_table	= kxtj9_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 218/606] Input: mma8450 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (26 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 217/606] Input: kxtj9 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 219/606] Input: pcf8574_keypad " Uwe Kleine-König
                   ` (56 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/mma8450.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c
index 1b5a5e19230a..b12152536976 100644
--- a/drivers/input/misc/mma8450.c
+++ b/drivers/input/misc/mma8450.c
@@ -146,8 +146,7 @@ static void mma8450_close(struct input_dev *input)
 /*
  * I2C init/probing/exit functions
  */
-static int mma8450_probe(struct i2c_client *c,
-			 const struct i2c_device_id *id)
+static int mma8450_probe(struct i2c_client *c)
 {
 	struct input_dev *input;
 	int err;
@@ -203,7 +202,7 @@ static struct i2c_driver mma8450_driver = {
 		.name	= MMA8450_DRV_NAME,
 		.of_match_table = mma8450_dt_ids,
 	},
-	.probe		= mma8450_probe,
+	.probe_new	= mma8450_probe,
 	.id_table	= mma8450_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 219/606] Input: pcf8574_keypad - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (27 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 218/606] Input: mma8450 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 220/606] Input: cyapa " Uwe Kleine-König
                   ` (55 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Corey Minyard, Miguel Ojeda,
	Javier Martinez Canillas, Crt Mori
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/misc/pcf8574_keypad.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/misc/pcf8574_keypad.c b/drivers/input/misc/pcf8574_keypad.c
index cfd6640e4f82..fd1ff3f1cd92 100644
--- a/drivers/input/misc/pcf8574_keypad.c
+++ b/drivers/input/misc/pcf8574_keypad.c
@@ -80,7 +80,7 @@ static irqreturn_t pcf8574_kp_irq_handler(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int pcf8574_kp_probe(struct i2c_client *client)
 {
 	int i, ret;
 	struct input_dev *idev;
@@ -209,7 +209,7 @@ static struct i2c_driver pcf8574_kp_driver = {
 		.pm = &pcf8574_kp_pm_ops,
 #endif
 	},
-	.probe    = pcf8574_kp_probe,
+	.probe_new = pcf8574_kp_probe,
 	.remove   = pcf8574_kp_remove,
 	.id_table = pcf8574_kp_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 220/606] Input: cyapa - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (28 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 219/606] Input: pcf8574_keypad " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 221/606] Input: elan_i2c_core " Uwe Kleine-König
                   ` (54 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/mouse/cyapa.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 77cc653edca2..7e88a6ec7989 100644
--- a/drivers/input/mouse/cyapa.c
+++ b/drivers/input/mouse/cyapa.c
@@ -1244,8 +1244,7 @@ static void cyapa_disable_regulator(void *data)
 	regulator_disable(cyapa->vcc);
 }
 
-static int cyapa_probe(struct i2c_client *client,
-		       const struct i2c_device_id *dev_id)
+static int cyapa_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct cyapa *cyapa;
@@ -1490,7 +1489,7 @@ static struct i2c_driver cyapa_driver = {
 		.of_match_table = of_match_ptr(cyapa_of_match),
 	},
 
-	.probe = cyapa_probe,
+	.probe_new = cyapa_probe,
 	.id_table = cyapa_id_table,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 221/606] Input: elan_i2c_core - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (29 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 220/606] Input: cyapa " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-19 12:57   ` Hans de Goede
  2022-11-18 22:39 ` [PATCH 222/606] Input: synaptics_i2c " Uwe Kleine-König
                   ` (53 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Hans de Goede, Greg Kroah-Hartman
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/mouse/elan_i2c_core.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index d4eb59b55bf1..a25d5b055553 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1188,8 +1188,7 @@ static void elan_disable_regulator(void *_data)
 	regulator_disable(data->vcc);
 }
 
-static int elan_probe(struct i2c_client *client,
-		      const struct i2c_device_id *dev_id)
+static int elan_probe(struct i2c_client *client)
 {
 	const struct elan_transport_ops *transport_ops;
 	struct device *dev = &client->dev;
@@ -1438,7 +1437,7 @@ static struct i2c_driver elan_driver = {
 		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 		.dev_groups = elan_sysfs_groups,
 	},
-	.probe		= elan_probe,
+	.probe_new	= elan_probe,
 	.id_table	= elan_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 222/606] Input: synaptics_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (30 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 221/606] Input: elan_i2c_core " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-12-06 10:49   ` Jean Delvare
  2022-11-18 22:39 ` [PATCH 223/606] Input: rmi_i2c " Uwe Kleine-König
                   ` (52 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jean Delvare, Peter Senna Tschudin,
	Krzysztof Hałasa, Greg Kroah-Hartman
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/mouse/synaptics_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c
index 987ee67a1045..6487c8c60d5e 100644
--- a/drivers/input/mouse/synaptics_i2c.c
+++ b/drivers/input/mouse/synaptics_i2c.c
@@ -521,8 +521,7 @@ static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *clien
 	return touch;
 }
 
-static int synaptics_i2c_probe(struct i2c_client *client,
-			       const struct i2c_device_id *dev_id)
+static int synaptics_i2c_probe(struct i2c_client *client)
 {
 	int ret;
 	struct synaptics_i2c *touch;
@@ -651,7 +650,7 @@ static struct i2c_driver synaptics_i2c_driver = {
 		.pm	= &synaptics_i2c_pm,
 	},
 
-	.probe		= synaptics_i2c_probe,
+	.probe_new	= synaptics_i2c_probe,
 	.remove		= synaptics_i2c_remove,
 
 	.id_table	= synaptics_i2c_id_table,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 223/606] Input: rmi_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (31 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 222/606] Input: synaptics_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 224/606] Input: rmi_smbus " Uwe Kleine-König
                   ` (51 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/rmi4/rmi_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/rmi4/rmi_i2c.c b/drivers/input/rmi4/rmi_i2c.c
index 50305fcfbef5..f2b75c6d3224 100644
--- a/drivers/input/rmi4/rmi_i2c.c
+++ b/drivers/input/rmi4/rmi_i2c.c
@@ -198,8 +198,7 @@ static void rmi_i2c_unregister_transport(void *data)
 	rmi_unregister_transport_device(&rmi_i2c->xport);
 }
 
-static int rmi_i2c_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int rmi_i2c_probe(struct i2c_client *client)
 {
 	struct rmi_device_platform_data *pdata;
 	struct rmi_device_platform_data *client_pdata =
@@ -383,7 +382,7 @@ static struct i2c_driver rmi_i2c_driver = {
 		.of_match_table = of_match_ptr(rmi_i2c_of_match),
 	},
 	.id_table	= rmi_id,
-	.probe		= rmi_i2c_probe,
+	.probe_new	= rmi_i2c_probe,
 };
 
 module_i2c_driver(rmi_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 224/606] Input: rmi_smbus - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (32 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 223/606] Input: rmi_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 225/606] Input: ad7879-i2c " Uwe Kleine-König
                   ` (50 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Srinivas Pandruvada, Heikki Krogerus,
	Andy Shevchenko, Sebastian Reichel
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/rmi4/rmi_smbus.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/rmi4/rmi_smbus.c b/drivers/input/rmi4/rmi_smbus.c
index c130468541b7..8a9ee2bd7402 100644
--- a/drivers/input/rmi4/rmi_smbus.c
+++ b/drivers/input/rmi4/rmi_smbus.c
@@ -268,8 +268,7 @@ static const struct rmi_transport_ops rmi_smb_ops = {
 	.reset		= rmi_smb_reset,
 };
 
-static int rmi_smb_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int rmi_smb_probe(struct i2c_client *client)
 {
 	struct rmi_device_platform_data *pdata = dev_get_platdata(&client->dev);
 	struct rmi_smb_xport *rmi_smb;
@@ -420,7 +419,7 @@ static struct i2c_driver rmi_smb_driver = {
 		.pm	= &rmi_smb_pm,
 	},
 	.id_table	= rmi_id,
-	.probe		= rmi_smb_probe,
+	.probe_new	= rmi_smb_probe,
 	.remove		= rmi_smb_remove,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 225/606] Input: ad7879-i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (33 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 224/606] Input: rmi_smbus " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 226/606] Input: ar1021_i2c " Uwe Kleine-König
                   ` (49 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/ad7879-i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c
index 0f20a1fdcdba..dd8f31737bb8 100644
--- a/drivers/input/touchscreen/ad7879-i2c.c
+++ b/drivers/input/touchscreen/ad7879-i2c.c
@@ -23,8 +23,7 @@ static const struct regmap_config ad7879_i2c_regmap_config = {
 	.max_register = 15,
 };
 
-static int ad7879_i2c_probe(struct i2c_client *client,
-				      const struct i2c_device_id *id)
+static int ad7879_i2c_probe(struct i2c_client *client)
 {
 	struct regmap *regmap;
 
@@ -63,7 +62,7 @@ static struct i2c_driver ad7879_i2c_driver = {
 		.pm	= &ad7879_pm_ops,
 		.of_match_table = of_match_ptr(ad7879_i2c_dt_ids),
 	},
-	.probe		= ad7879_i2c_probe,
+	.probe_new	= ad7879_i2c_probe,
 	.id_table	= ad7879_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 226/606] Input: ar1021_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (34 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 225/606] Input: ad7879-i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 227/606] Input: atmel_mxt_ts " Uwe Kleine-König
                   ` (48 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/ar1021_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
index dc6a85362a40..25bcc677e98b 100644
--- a/drivers/input/touchscreen/ar1021_i2c.c
+++ b/drivers/input/touchscreen/ar1021_i2c.c
@@ -87,8 +87,7 @@ static void ar1021_i2c_close(struct input_dev *dev)
 	disable_irq(client->irq);
 }
 
-static int ar1021_i2c_probe(struct i2c_client *client,
-			    const struct i2c_device_id *id)
+static int ar1021_i2c_probe(struct i2c_client *client)
 {
 	struct ar1021_i2c *ar1021;
 	struct input_dev *input;
@@ -182,7 +181,7 @@ static struct i2c_driver ar1021_i2c_driver = {
 		.of_match_table = ar1021_i2c_of_match,
 	},
 
-	.probe		= ar1021_i2c_probe,
+	.probe_new	= ar1021_i2c_probe,
 	.id_table	= ar1021_i2c_id,
 };
 module_i2c_driver(ar1021_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 227/606] Input: atmel_mxt_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (35 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 226/606] Input: ar1021_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 228/606] Input: auo-pixcir-ts " Uwe Kleine-König
                   ` (47 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Nick Dyer,
	Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/atmel_mxt_ts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index ccecd1441f0b..39ef2664b852 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -3129,7 +3129,7 @@ static const struct dmi_system_id chromebook_T9_suspend_dmi[] = {
 	{ }
 };
 
-static int mxt_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int mxt_probe(struct i2c_client *client)
 {
 	struct mxt_data *data;
 	int error;
@@ -3377,7 +3377,7 @@ static struct i2c_driver mxt_driver = {
 		.acpi_match_table = ACPI_PTR(mxt_acpi_id),
 		.pm	= &mxt_pm_ops,
 	},
-	.probe		= mxt_probe,
+	.probe_new	= mxt_probe,
 	.remove		= mxt_remove,
 	.id_table	= mxt_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 228/606] Input: auo-pixcir-ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (36 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 227/606] Input: atmel_mxt_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-19  8:41   ` Heiko Stübner
  2022-11-18 22:39 ` [PATCH 229/606] Input: bu21013_ts " Uwe Kleine-König
                   ` (46 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Heiko Stuebner
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/auo-pixcir-ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c
index 2deae5a6823a..a4a1d58aeeac 100644
--- a/drivers/input/touchscreen/auo-pixcir-ts.c
+++ b/drivers/input/touchscreen/auo-pixcir-ts.c
@@ -482,8 +482,7 @@ static void auo_pixcir_reset(void *data)
 	gpiod_set_value_cansleep(ts->gpio_rst, 1);
 }
 
-static int auo_pixcir_probe(struct i2c_client *client,
-			    const struct i2c_device_id *id)
+static int auo_pixcir_probe(struct i2c_client *client)
 {
 	struct auo_pixcir_ts *ts;
 	struct input_dev *input_dev;
@@ -637,7 +636,7 @@ static struct i2c_driver auo_pixcir_driver = {
 		.pm	= &auo_pixcir_pm_ops,
 		.of_match_table	= of_match_ptr(auo_pixcir_ts_dt_idtable),
 	},
-	.probe		= auo_pixcir_probe,
+	.probe_new	= auo_pixcir_probe,
 	.id_table	= auo_pixcir_idtable,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 229/606] Input: bu21013_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (37 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 228/606] Input: auo-pixcir-ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 230/606] Input: bu21029_ts " Uwe Kleine-König
                   ` (45 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Marek Behún, Vladimir Oltean
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/bu21013_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index 34f422e246ef..5a4dbd39a372 100644
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -404,8 +404,7 @@ static void bu21013_disable_chip(void *_ts)
 	gpiod_set_value(ts->cs_gpiod, 0);
 }
 
-static int bu21013_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int bu21013_probe(struct i2c_client *client)
 {
 	struct bu21013_ts *ts;
 	struct input_dev *in_dev;
@@ -618,7 +617,7 @@ static struct i2c_driver bu21013_driver = {
 		.name	=	DRIVER_TP,
 		.pm	=	&bu21013_dev_pm_ops,
 	},
-	.probe		=	bu21013_probe,
+	.probe_new	=	bu21013_probe,
 	.remove		=	bu21013_remove,
 	.id_table	=	bu21013_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 230/606] Input: bu21029_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (38 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 229/606] Input: bu21013_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 231/606] Input: chipone_icn8318 " Uwe Kleine-König
                   ` (44 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/bu21029_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/bu21029_ts.c b/drivers/input/touchscreen/bu21029_ts.c
index 392950aa7856..215f4dc5105d 100644
--- a/drivers/input/touchscreen/bu21029_ts.c
+++ b/drivers/input/touchscreen/bu21029_ts.c
@@ -331,8 +331,7 @@ static void bu21029_stop_chip(struct input_dev *dev)
 	regulator_disable(bu21029->vdd);
 }
 
-static int bu21029_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int bu21029_probe(struct i2c_client *client)
 {
 	struct bu21029_ts_data *bu21029;
 	struct input_dev *in_dev;
@@ -475,7 +474,7 @@ static struct i2c_driver bu21029_driver = {
 		.pm		= &bu21029_pm_ops,
 	},
 	.id_table	= bu21029_ids,
-	.probe		= bu21029_probe,
+	.probe_new	= bu21029_probe,
 };
 module_i2c_driver(bu21029_driver);
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 231/606] Input: chipone_icn8318 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (39 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 230/606] Input: bu21029_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-19 12:57   ` Hans de Goede
  2022-11-18 22:39 ` [PATCH 232/606] Input: cy8ctma140 " Uwe Kleine-König
                   ` (43 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Hans de Goede, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/chipone_icn8318.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/chipone_icn8318.c b/drivers/input/touchscreen/chipone_icn8318.c
index f2fb41fb031e..f6769e4bd4f2 100644
--- a/drivers/input/touchscreen/chipone_icn8318.c
+++ b/drivers/input/touchscreen/chipone_icn8318.c
@@ -176,8 +176,7 @@ static int icn8318_resume(struct device *dev)
 
 static SIMPLE_DEV_PM_OPS(icn8318_pm_ops, icn8318_suspend, icn8318_resume);
 
-static int icn8318_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int icn8318_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct icn8318_data *data;
@@ -267,7 +266,7 @@ static struct i2c_driver icn8318_driver = {
 		.pm	= &icn8318_pm_ops,
 		.of_match_table = icn8318_of_match,
 	},
-	.probe = icn8318_probe,
+	.probe_new = icn8318_probe,
 	.id_table = icn8318_i2c_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 232/606] Input: cy8ctma140 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (40 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 231/606] Input: chipone_icn8318 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 233/606] Input: cy8ctmg110_ts " Uwe Kleine-König
                   ` (42 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Linus Walleij, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/cy8ctma140.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/cy8ctma140.c b/drivers/input/touchscreen/cy8ctma140.c
index a9be29139cbf..3a91d948b7f6 100644
--- a/drivers/input/touchscreen/cy8ctma140.c
+++ b/drivers/input/touchscreen/cy8ctma140.c
@@ -198,8 +198,7 @@ static void cy8ctma140_power_off_action(void *d)
 	cy8ctma140_power_down(ts);
 }
 
-static int cy8ctma140_probe(struct i2c_client *client,
-			    const struct i2c_device_id *id)
+static int cy8ctma140_probe(struct i2c_client *client)
 {
 	struct cy8ctma140 *ts;
 	struct input_dev *input;
@@ -344,7 +343,7 @@ static struct i2c_driver cy8ctma140_driver = {
 		.of_match_table = cy8ctma140_of_match,
 	},
 	.id_table	= cy8ctma140_idtable,
-	.probe		= cy8ctma140_probe,
+	.probe_new	= cy8ctma140_probe,
 };
 module_i2c_driver(cy8ctma140_driver);
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 233/606] Input: cy8ctmg110_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (41 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 232/606] Input: cy8ctma140 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 234/606] Input: cyttsp4 " Uwe Kleine-König
                   ` (41 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/cy8ctmg110_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c
index 495ef156cf43..7c2b7309dbaf 100644
--- a/drivers/input/touchscreen/cy8ctmg110_ts.c
+++ b/drivers/input/touchscreen/cy8ctmg110_ts.c
@@ -168,8 +168,7 @@ static void cy8ctmg110_shut_off(void *_ts)
 	cy8ctmg110_power(ts, false);
 }
 
-static int cy8ctmg110_probe(struct i2c_client *client,
-					const struct i2c_device_id *id)
+static int cy8ctmg110_probe(struct i2c_client *client)
 {
 	struct cy8ctmg110 *ts;
 	struct input_dev *input_dev;
@@ -279,7 +278,7 @@ static struct i2c_driver cy8ctmg110_driver = {
 		.pm	= &cy8ctmg110_pm,
 	},
 	.id_table	= cy8ctmg110_idtable,
-	.probe		= cy8ctmg110_probe,
+	.probe_new	= cy8ctmg110_probe,
 };
 
 module_i2c_driver(cy8ctmg110_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 234/606] Input: cyttsp4 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (42 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 233/606] Input: cy8ctmg110_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 235/606] Input: cyttsp5: " Uwe Kleine-König
                   ` (40 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Linus Walleij, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/cyttsp4_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/cyttsp4_i2c.c b/drivers/input/touchscreen/cyttsp4_i2c.c
index 28ae7c15397a..c260bab0c62c 100644
--- a/drivers/input/touchscreen/cyttsp4_i2c.c
+++ b/drivers/input/touchscreen/cyttsp4_i2c.c
@@ -27,8 +27,7 @@ static const struct cyttsp4_bus_ops cyttsp4_i2c_bus_ops = {
 	.read           = cyttsp_i2c_read_block_data,
 };
 
-static int cyttsp4_i2c_probe(struct i2c_client *client,
-				      const struct i2c_device_id *id)
+static int cyttsp4_i2c_probe(struct i2c_client *client)
 {
 	struct cyttsp4 *ts;
 
@@ -61,7 +60,7 @@ static struct i2c_driver cyttsp4_i2c_driver = {
 		.name	= CYTTSP4_I2C_NAME,
 		.pm	= &cyttsp4_pm_ops,
 	},
-	.probe		= cyttsp4_i2c_probe,
+	.probe_new	= cyttsp4_i2c_probe,
 	.remove		= cyttsp4_i2c_remove,
 	.id_table	= cyttsp4_i2c_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 235/606] Input: cyttsp5: Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (43 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 234/606] Input: cyttsp4 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 236/606] Input: cyttsp_i2c - " Uwe Kleine-König
                   ` (39 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Linus Walleij, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/cyttsp5.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/cyttsp5.c b/drivers/input/touchscreen/cyttsp5.c
index 24ab1df9fc07..4a23d6231382 100644
--- a/drivers/input/touchscreen/cyttsp5.c
+++ b/drivers/input/touchscreen/cyttsp5.c
@@ -855,8 +855,7 @@ static int cyttsp5_probe(struct device *dev, struct regmap *regmap, int irq,
 	return cyttsp5_setup_input_device(dev);
 }
 
-static int cyttsp5_i2c_probe(struct i2c_client *client,
-			     const struct i2c_device_id *id)
+static int cyttsp5_i2c_probe(struct i2c_client *client)
 {
 	struct regmap *regmap;
 	static const struct regmap_config config = {
@@ -891,7 +890,7 @@ static struct i2c_driver cyttsp5_i2c_driver = {
 		.name = CYTTSP5_NAME,
 		.of_match_table = cyttsp5_of_match,
 	},
-	.probe = cyttsp5_i2c_probe,
+	.probe_new = cyttsp5_i2c_probe,
 	.id_table = cyttsp5_i2c_id,
 };
 module_i2c_driver(cyttsp5_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 236/606] Input: cyttsp_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (44 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 235/606] Input: cyttsp5: " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 237/606] Input: edt-ft5x06 " Uwe Kleine-König
                   ` (38 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Linus Walleij, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/cyttsp_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c
index 4c8473d327ab..0155a1626adf 100644
--- a/drivers/input/touchscreen/cyttsp_i2c.c
+++ b/drivers/input/touchscreen/cyttsp_i2c.c
@@ -28,8 +28,7 @@ static const struct cyttsp_bus_ops cyttsp_i2c_bus_ops = {
 	.read           = cyttsp_i2c_read_block_data,
 };
 
-static int cyttsp_i2c_probe(struct i2c_client *client,
-				      const struct i2c_device_id *id)
+static int cyttsp_i2c_probe(struct i2c_client *client)
 {
 	struct cyttsp *ts;
 
@@ -67,7 +66,7 @@ static struct i2c_driver cyttsp_i2c_driver = {
 		.pm	= &cyttsp_pm_ops,
 		.of_match_table = cyttsp_of_i2c_match,
 	},
-	.probe		= cyttsp_i2c_probe,
+	.probe_new	= cyttsp_i2c_probe,
 	.id_table	= cyttsp_i2c_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 237/606] Input: edt-ft5x06 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (45 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 236/606] Input: cyttsp_i2c - " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-21  7:42   ` Oliver Graute
  2022-11-18 22:39 ` [PATCH 238/606] Input: eeti_ts " Uwe Kleine-König
                   ` (37 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Michael Trimarchi, Dario Binacchi,
	Oliver Graute, Wolfram Sang
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/edt-ft5x06.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 9ac1378610bc..ddd0f1f62458 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -1131,9 +1131,9 @@ static void edt_ft5x06_disable_regulators(void *arg)
 	regulator_disable(data->iovcc);
 }
 
-static int edt_ft5x06_ts_probe(struct i2c_client *client,
-					 const struct i2c_device_id *id)
+static int edt_ft5x06_ts_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	const struct edt_i2c_chip_data *chip_data;
 	struct edt_ft5x06_ts_data *tsdata;
 	u8 buf[2] = { 0xfc, 0x00 };
@@ -1504,7 +1504,7 @@ static struct i2c_driver edt_ft5x06_ts_driver = {
 		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
 	.id_table = edt_ft5x06_ts_id,
-	.probe    = edt_ft5x06_ts_probe,
+	.probe_new = edt_ft5x06_ts_probe,
 	.remove   = edt_ft5x06_ts_remove,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 238/606] Input: eeti_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (46 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 237/606] Input: edt-ft5x06 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 239/606] Input: egalax_ts " Uwe Kleine-König
                   ` (36 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/eeti_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c
index a639ba7e56ea..c8ab03f49227 100644
--- a/drivers/input/touchscreen/eeti_ts.c
+++ b/drivers/input/touchscreen/eeti_ts.c
@@ -158,8 +158,7 @@ static void eeti_ts_close(struct input_dev *dev)
 	eeti_ts_stop(eeti);
 }
 
-static int eeti_ts_probe(struct i2c_client *client,
-			 const struct i2c_device_id *idp)
+static int eeti_ts_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct eeti_ts *eeti;
@@ -292,7 +291,7 @@ static struct i2c_driver eeti_ts_driver = {
 		.pm = &eeti_ts_pm,
 		.of_match_table = of_match_ptr(of_eeti_ts_match),
 	},
-	.probe = eeti_ts_probe,
+	.probe_new = eeti_ts_probe,
 	.id_table = eeti_ts_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 239/606] Input: egalax_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (47 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 238/606] Input: eeti_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 240/606] Input: ektf2127 " Uwe Kleine-König
                   ` (35 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/egalax_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index 8333a512b605..742d47a75ac1 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -155,8 +155,7 @@ static int egalax_firmware_version(struct i2c_client *client)
 	return 0;
 }
 
-static int egalax_ts_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int egalax_ts_probe(struct i2c_client *client)
 {
 	struct egalax_ts *ts;
 	struct input_dev *input_dev;
@@ -264,7 +263,7 @@ static struct i2c_driver egalax_ts_driver = {
 		.of_match_table	= egalax_ts_dt_ids,
 	},
 	.id_table	= egalax_ts_id,
-	.probe		= egalax_ts_probe,
+	.probe_new	= egalax_ts_probe,
 };
 
 module_i2c_driver(egalax_ts_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 240/606] Input: ektf2127 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (48 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 239/606] Input: egalax_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 241/606] Input: goodix " Uwe Kleine-König
                   ` (34 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/ektf2127.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/ektf2127.c b/drivers/input/touchscreen/ektf2127.c
index 2d01a8cbfcc6..328841eaa1b7 100644
--- a/drivers/input/touchscreen/ektf2127.c
+++ b/drivers/input/touchscreen/ektf2127.c
@@ -244,8 +244,7 @@ static int ektf2127_query_dimension(struct i2c_client *client, bool width)
 	return (((buf[3] & 0xf0) << 4) | buf[2]) - 1;
 }
 
-static int ektf2127_probe(struct i2c_client *client,
-			  const struct i2c_device_id *id)
+static int ektf2127_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct ektf2127_ts *ts;
@@ -352,7 +351,7 @@ static struct i2c_driver ektf2127_driver = {
 		.pm	= &ektf2127_pm_ops,
 		.of_match_table = of_match_ptr(ektf2127_of_match),
 	},
-	.probe = ektf2127_probe,
+	.probe_new = ektf2127_probe,
 	.id_table = ektf2127_i2c_id,
 };
 module_i2c_driver(ektf2127_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 241/606] Input: goodix - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (49 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 240/606] Input: ektf2127 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-19 12:57   ` Hans de Goede
  2022-11-18 22:39 ` [PATCH 242/606] Input: hideep " Uwe Kleine-König
                   ` (33 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Bastien Nocera, Hans de Goede, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/goodix.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index c281e49826c2..8a0a8078de8f 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -1282,8 +1282,7 @@ static void goodix_disable_regulators(void *arg)
 	regulator_disable(ts->avdd28);
 }
 
-static int goodix_ts_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int goodix_ts_probe(struct i2c_client *client)
 {
 	struct goodix_ts_data *ts;
 	const char *cfg_name;
@@ -1537,7 +1536,7 @@ MODULE_DEVICE_TABLE(of, goodix_of_match);
 #endif
 
 static struct i2c_driver goodix_ts_driver = {
-	.probe = goodix_ts_probe,
+	.probe_new = goodix_ts_probe,
 	.remove = goodix_ts_remove,
 	.id_table = goodix_ts_id,
 	.driver = {
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 242/606] Input: hideep - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (50 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 241/606] Input: goodix " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 243/606] Input: hx83112b: " Uwe Kleine-König
                   ` (32 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/hideep.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/hideep.c b/drivers/input/touchscreen/hideep.c
index e9547ee29756..ff4bb4c14898 100644
--- a/drivers/input/touchscreen/hideep.c
+++ b/drivers/input/touchscreen/hideep.c
@@ -997,8 +997,7 @@ static const struct regmap_config hideep_regmap_config = {
 	.max_register = 0xffff,
 };
 
-static int hideep_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int hideep_probe(struct i2c_client *client)
 {
 	struct hideep_ts *ts;
 	int error;
@@ -1112,7 +1111,7 @@ static struct i2c_driver hideep_driver = {
 		.pm			= &hideep_pm_ops,
 	},
 	.id_table	= hideep_i2c_id,
-	.probe		= hideep_probe,
+	.probe_new	= hideep_probe,
 };
 
 module_i2c_driver(hideep_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 243/606] Input: hx83112b: Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (51 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 242/606] Input: hideep " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 244/606] Input: hycon-hy46xx - " Uwe Kleine-König
                   ` (31 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Job Noorman, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/himax_hx83112b.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/himax_hx83112b.c b/drivers/input/touchscreen/himax_hx83112b.c
index 737cc134e8f9..e96150d80a48 100644
--- a/drivers/input/touchscreen/himax_hx83112b.c
+++ b/drivers/input/touchscreen/himax_hx83112b.c
@@ -265,8 +265,7 @@ static irqreturn_t himax_irq_handler(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int himax_probe(struct i2c_client *client,
-		       const struct i2c_device_id *id)
+static int himax_probe(struct i2c_client *client)
 {
 	int error;
 	struct device *dev = &client->dev;
@@ -350,7 +349,7 @@ MODULE_DEVICE_TABLE(of, himax_of_match);
 #endif
 
 static struct i2c_driver himax_ts_driver = {
-	.probe = himax_probe,
+	.probe_new = himax_probe,
 	.id_table = himax_ts_id,
 	.driver = {
 		.name = "Himax-hx83112b-TS",
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 244/606] Input: hycon-hy46xx - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (52 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 243/606] Input: hx83112b: " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 245/606] Input: ili210x " Uwe Kleine-König
                   ` (30 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Giulio Benetti, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/hycon-hy46xx.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/hycon-hy46xx.c b/drivers/input/touchscreen/hycon-hy46xx.c
index 891d0430083e..8f4989aba9a4 100644
--- a/drivers/input/touchscreen/hycon-hy46xx.c
+++ b/drivers/input/touchscreen/hycon-hy46xx.c
@@ -439,8 +439,7 @@ static void hycon_hy46xx_disable_regulator(void *arg)
 	regulator_disable(data->vcc);
 }
 
-static int hycon_hy46xx_probe(struct i2c_client *client,
-					 const struct i2c_device_id *id)
+static int hycon_hy46xx_probe(struct i2c_client *client)
 {
 	struct hycon_hy46xx_data *tsdata;
 	struct input_dev *input;
@@ -581,7 +580,7 @@ static struct i2c_driver hycon_hy46xx_driver = {
 		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
 	.id_table = hycon_hy46xx_id,
-	.probe    = hycon_hy46xx_probe,
+	.probe_new = hycon_hy46xx_probe,
 };
 
 module_i2c_driver(hycon_hy46xx_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 245/606] Input: ili210x - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (53 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 244/606] Input: hycon-hy46xx - " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 246/606] Input: ilitek_ts_i2c " Uwe Kleine-König
                   ` (29 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Marek Vasut
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/ili210x.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/ili210x.c b/drivers/input/touchscreen/ili210x.c
index e9bd36adbe47..4897fafa4204 100644
--- a/drivers/input/touchscreen/ili210x.c
+++ b/drivers/input/touchscreen/ili210x.c
@@ -913,9 +913,9 @@ static void ili210x_stop(void *data)
 	priv->stop = true;
 }
 
-static int ili210x_i2c_probe(struct i2c_client *client,
-			     const struct i2c_device_id *id)
+static int ili210x_i2c_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct device *dev = &client->dev;
 	const struct ili2xxx_chip *chip;
 	struct ili210x *priv;
@@ -1043,7 +1043,7 @@ static struct i2c_driver ili210x_ts_driver = {
 		.of_match_table = ili210x_dt_ids,
 	},
 	.id_table = ili210x_i2c_id,
-	.probe = ili210x_i2c_probe,
+	.probe_new = ili210x_i2c_probe,
 };
 
 module_i2c_driver(ili210x_ts_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 246/606] Input: ilitek_ts_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (54 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 245/606] Input: ili210x " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 247/606] Input: iqs5xx " Uwe Kleine-König
                   ` (28 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/ilitek_ts_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/ilitek_ts_i2c.c b/drivers/input/touchscreen/ilitek_ts_i2c.c
index c5d259c76adc..e6ade3775a8a 100644
--- a/drivers/input/touchscreen/ilitek_ts_i2c.c
+++ b/drivers/input/touchscreen/ilitek_ts_i2c.c
@@ -542,8 +542,7 @@ static struct attribute_group ilitek_attrs_group = {
 	.attrs = ilitek_sysfs_attrs,
 };
 
-static int ilitek_ts_i2c_probe(struct i2c_client *client,
-			       const struct i2c_device_id *id)
+static int ilitek_ts_i2c_probe(struct i2c_client *client)
 {
 	struct ilitek_ts_data *ts;
 	struct device *dev = &client->dev;
@@ -680,7 +679,7 @@ static struct i2c_driver ilitek_ts_i2c_driver = {
 		.of_match_table = of_match_ptr(ilitek_ts_i2c_match),
 		.acpi_match_table = ACPI_PTR(ilitekts_acpi_id),
 	},
-	.probe = ilitek_ts_i2c_probe,
+	.probe_new = ilitek_ts_i2c_probe,
 	.id_table = ilitek_ts_i2c_id,
 };
 module_i2c_driver(ilitek_ts_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 247/606] Input: iqs5xx - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (55 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 246/606] Input: ilitek_ts_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-20 18:41   ` Jeff LaBundy
  2022-11-18 22:39 ` [PATCH 248/606] Input: max11801_ts " Uwe Kleine-König
                   ` (27 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jeff LaBundy
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/iqs5xx.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/iqs5xx.c b/drivers/input/touchscreen/iqs5xx.c
index 34c4cca57d13..dc3137a34f35 100644
--- a/drivers/input/touchscreen/iqs5xx.c
+++ b/drivers/input/touchscreen/iqs5xx.c
@@ -1019,8 +1019,7 @@ static int __maybe_unused iqs5xx_resume(struct device *dev)
 
 static SIMPLE_DEV_PM_OPS(iqs5xx_pm, iqs5xx_suspend, iqs5xx_resume);
 
-static int iqs5xx_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int iqs5xx_probe(struct i2c_client *client)
 {
 	struct iqs5xx_private *iqs5xx;
 	int error;
@@ -1094,7 +1093,7 @@ static struct i2c_driver iqs5xx_i2c_driver = {
 		.pm		= &iqs5xx_pm,
 	},
 	.id_table	= iqs5xx_id,
-	.probe		= iqs5xx_probe,
+	.probe_new	= iqs5xx_probe,
 };
 module_i2c_driver(iqs5xx_i2c_driver);
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 248/606] Input: max11801_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (56 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 247/606] Input: iqs5xx " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 249/606] Input: mcs5000_ts " Uwe Kleine-König
                   ` (26 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/max11801_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c
index f15713aaebc2..461023fd6a09 100644
--- a/drivers/input/touchscreen/max11801_ts.c
+++ b/drivers/input/touchscreen/max11801_ts.c
@@ -168,8 +168,7 @@ static void max11801_ts_phy_init(struct max11801_data *data)
 	max11801_write_reg(client, OP_MODE_CONF_REG, 0x36);
 }
 
-static int max11801_ts_probe(struct i2c_client *client,
-				       const struct i2c_device_id *id)
+static int max11801_ts_probe(struct i2c_client *client)
 {
 	struct max11801_data *data;
 	struct input_dev *input_dev;
@@ -231,7 +230,7 @@ static struct i2c_driver max11801_ts_driver = {
 		.of_match_table = max11801_ts_dt_ids,
 	},
 	.id_table	= max11801_ts_id,
-	.probe		= max11801_ts_probe,
+	.probe_new	= max11801_ts_probe,
 };
 
 module_i2c_driver(max11801_ts_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 249/606] Input: mcs5000_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (57 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 248/606] Input: max11801_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 250/606] Input: melfas_mip4 " Uwe Kleine-König
                   ` (25 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/mcs5000_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c
index 5376d8f740ab..ea9517cad695 100644
--- a/drivers/input/touchscreen/mcs5000_ts.c
+++ b/drivers/input/touchscreen/mcs5000_ts.c
@@ -180,8 +180,7 @@ static void mcs5000_ts_phys_init(struct mcs5000_ts_data *data,
 			OP_MODE_ACTIVE | REPORT_RATE_80);
 }
 
-static int mcs5000_ts_probe(struct i2c_client *client,
-			    const struct i2c_device_id *id)
+static int mcs5000_ts_probe(struct i2c_client *client)
 {
 	const struct mcs_platform_data *pdata;
 	struct mcs5000_ts_data *data;
@@ -272,7 +271,7 @@ static const struct i2c_device_id mcs5000_ts_id[] = {
 MODULE_DEVICE_TABLE(i2c, mcs5000_ts_id);
 
 static struct i2c_driver mcs5000_ts_driver = {
-	.probe		= mcs5000_ts_probe,
+	.probe_new	= mcs5000_ts_probe,
 	.driver = {
 		.name = "mcs5000_ts",
 		.pm   = &mcs5000_ts_pm,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 250/606] Input: melfas_mip4 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (58 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 249/606] Input: mcs5000_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 251/606] Input: migor_ts " Uwe Kleine-König
                   ` (24 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Sangwon Jee, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/melfas_mip4.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/melfas_mip4.c b/drivers/input/touchscreen/melfas_mip4.c
index 83f4be05e27b..4ee8ed4c930c 100644
--- a/drivers/input/touchscreen/melfas_mip4.c
+++ b/drivers/input/touchscreen/melfas_mip4.c
@@ -1424,7 +1424,7 @@ static const struct attribute_group mip4_attr_group = {
 	.attrs = mip4_attrs,
 };
 
-static int mip4_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int mip4_probe(struct i2c_client *client)
 {
 	struct mip4_ts *ts;
 	struct input_dev *input;
@@ -1590,7 +1590,7 @@ MODULE_DEVICE_TABLE(i2c, mip4_i2c_ids);
 
 static struct i2c_driver mip4_driver = {
 	.id_table = mip4_i2c_ids,
-	.probe = mip4_probe,
+	.probe_new = mip4_probe,
 	.driver = {
 		.name = MIP4_DEVICE_NAME,
 		.of_match_table = of_match_ptr(mip4_of_match),
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 251/606] Input: migor_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (59 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 250/606] Input: melfas_mip4 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 252/606] Input: mms114 " Uwe Kleine-König
                   ` (23 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Jeremy Kerr, Luca Ceresoli, Hans Verkuil,
	Sebastian Reichel
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/migor_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/migor_ts.c b/drivers/input/touchscreen/migor_ts.c
index 79cd660d879e..ff0f605f3a3a 100644
--- a/drivers/input/touchscreen/migor_ts.c
+++ b/drivers/input/touchscreen/migor_ts.c
@@ -116,8 +116,7 @@ static void migor_ts_close(struct input_dev *dev)
 	enable_irq(priv->irq);
 }
 
-static int migor_ts_probe(struct i2c_client *client,
-			  const struct i2c_device_id *idp)
+static int migor_ts_probe(struct i2c_client *client)
 {
 	struct migor_ts_priv *priv;
 	struct input_dev *input;
@@ -222,7 +221,7 @@ static struct i2c_driver migor_ts_driver = {
 		.name = "migor_ts",
 		.pm = &migor_ts_pm,
 	},
-	.probe = migor_ts_probe,
+	.probe_new = migor_ts_probe,
 	.remove = migor_ts_remove,
 	.id_table = migor_ts_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 252/606] Input: mms114 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (60 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 251/606] Input: migor_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 253/606] Input: pixcir_i2c_ts " Uwe Kleine-König
                   ` (22 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/mms114.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 9fa3b0e421be..758b669391a7 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -440,8 +440,7 @@ static int mms114_parse_legacy_bindings(struct mms114_data *data)
 	return 0;
 }
 
-static int mms114_probe(struct i2c_client *client,
-				  const struct i2c_device_id *id)
+static int mms114_probe(struct i2c_client *client)
 {
 	struct mms114_data *data;
 	struct input_dev *input_dev;
@@ -639,7 +638,7 @@ static struct i2c_driver mms114_driver = {
 		.pm	= &mms114_pm_ops,
 		.of_match_table = of_match_ptr(mms114_dt_match),
 	},
-	.probe		= mms114_probe,
+	.probe_new	= mms114_probe,
 	.id_table	= mms114_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 253/606] Input: pixcir_i2c_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (61 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 252/606] Input: mms114 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 254/606] Input: raydium_i2c_ts " Uwe Kleine-König
                   ` (21 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/pixcir_i2c_ts.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c
index dc148b4bed74..7959947a3458 100644
--- a/drivers/input/touchscreen/pixcir_i2c_ts.c
+++ b/drivers/input/touchscreen/pixcir_i2c_ts.c
@@ -462,9 +462,9 @@ static int __maybe_unused pixcir_i2c_ts_resume(struct device *dev)
 static SIMPLE_DEV_PM_OPS(pixcir_dev_pm_ops,
 			 pixcir_i2c_ts_suspend, pixcir_i2c_ts_resume);
 
-static int pixcir_i2c_ts_probe(struct i2c_client *client,
-			       const struct i2c_device_id *id)
+static int pixcir_i2c_ts_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct device *dev = &client->dev;
 	struct pixcir_i2c_ts_data *tsdata;
 	struct input_dev *input;
@@ -617,7 +617,7 @@ static struct i2c_driver pixcir_i2c_ts_driver = {
 		.pm	= &pixcir_dev_pm_ops,
 		.of_match_table = of_match_ptr(pixcir_of_match),
 	},
-	.probe		= pixcir_i2c_ts_probe,
+	.probe_new	= pixcir_i2c_ts_probe,
 	.id_table	= pixcir_i2c_ts_id,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 254/606] Input: raydium_i2c_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (62 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 253/606] Input: pixcir_i2c_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 255/606] Input: rohm_bu21023 " Uwe Kleine-König
                   ` (20 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/raydium_i2c_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c
index 3a4952935366..181c675e9d34 100644
--- a/drivers/input/touchscreen/raydium_i2c_ts.c
+++ b/drivers/input/touchscreen/raydium_i2c_ts.c
@@ -1064,8 +1064,7 @@ static void raydium_i2c_power_off(void *_data)
 	}
 }
 
-static int raydium_i2c_probe(struct i2c_client *client,
-			     const struct i2c_device_id *id)
+static int raydium_i2c_probe(struct i2c_client *client)
 {
 	union i2c_smbus_data dummy;
 	struct raydium_data *ts;
@@ -1277,7 +1276,7 @@ MODULE_DEVICE_TABLE(of, raydium_of_match);
 #endif
 
 static struct i2c_driver raydium_i2c_driver = {
-	.probe = raydium_i2c_probe,
+	.probe_new = raydium_i2c_probe,
 	.id_table = raydium_i2c_id,
 	.driver = {
 		.name = "raydium_ts",
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 255/606] Input: rohm_bu21023 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (63 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 254/606] Input: raydium_i2c_ts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 256/606] Input: s6sy761 " Uwe Kleine-König
                   ` (19 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/rohm_bu21023.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/rohm_bu21023.c b/drivers/input/touchscreen/rohm_bu21023.c
index 730596d599d8..833422e5fd6d 100644
--- a/drivers/input/touchscreen/rohm_bu21023.c
+++ b/drivers/input/touchscreen/rohm_bu21023.c
@@ -1095,8 +1095,7 @@ static void rohm_ts_close(struct input_dev *input_dev)
 	ts->initialized = false;
 }
 
-static int rohm_bu21023_i2c_probe(struct i2c_client *client,
-				  const struct i2c_device_id *id)
+static int rohm_bu21023_i2c_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct rohm_ts_data *ts;
@@ -1184,7 +1183,7 @@ static struct i2c_driver rohm_bu21023_i2c_driver = {
 	.driver = {
 		.name = BU21023_NAME,
 	},
-	.probe = rohm_bu21023_i2c_probe,
+	.probe_new = rohm_bu21023_i2c_probe,
 	.id_table = rohm_bu21023_i2c_id,
 };
 module_i2c_driver(rohm_bu21023_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 256/606] Input: s6sy761 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (64 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 255/606] Input: rohm_bu21023 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 257/606] Input: silead " Uwe Kleine-König
                   ` (18 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Heikki Krogerus, Krzysztof Hałasa,
	Crt Mori, Hans Verkuil
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/s6sy761.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/s6sy761.c b/drivers/input/touchscreen/s6sy761.c
index 1a7d00289b4c..cc417c03aaca 100644
--- a/drivers/input/touchscreen/s6sy761.c
+++ b/drivers/input/touchscreen/s6sy761.c
@@ -389,8 +389,7 @@ static void s6sy761_power_off(void *data)
 						sdata->regulators);
 }
 
-static int s6sy761_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int s6sy761_probe(struct i2c_client *client)
 {
 	struct s6sy761_data *sdata;
 	unsigned int max_x, max_y;
@@ -540,7 +539,7 @@ static struct i2c_driver s6sy761_driver = {
 		.of_match_table = of_match_ptr(s6sy761_of_match),
 		.pm = &s6sy761_pm_ops,
 	},
-	.probe = s6sy761_probe,
+	.probe_new = s6sy761_probe,
 	.remove = s6sy761_remove,
 	.id_table = s6sy761_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 257/606] Input: silead - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (65 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 256/606] Input: s6sy761 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-19 12:59   ` Hans de Goede
  2022-11-18 22:39 ` [PATCH 258/606] Input: sis_i2c " Uwe Kleine-König
                   ` (17 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Hans de Goede, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input,
	platform-driver-x86, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/silead.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/silead.c b/drivers/input/touchscreen/silead.c
index 3eef8c01090f..8a7351c4414c 100644
--- a/drivers/input/touchscreen/silead.c
+++ b/drivers/input/touchscreen/silead.c
@@ -652,9 +652,9 @@ static void silead_disable_regulator(void *arg)
 	regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators);
 }
 
-static int silead_ts_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int silead_ts_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct silead_ts_data *data;
 	struct device *dev = &client->dev;
 	int error;
@@ -826,7 +826,7 @@ MODULE_DEVICE_TABLE(of, silead_ts_of_match);
 #endif
 
 static struct i2c_driver silead_ts_driver = {
-	.probe = silead_ts_probe,
+	.probe_new = silead_ts_probe,
 	.id_table = silead_ts_id,
 	.driver = {
 		.name = SILEAD_TS_NAME,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 258/606] Input: sis_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (66 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 257/606] Input: silead " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 259/606] Input: st1232 " Uwe Kleine-König
                   ` (16 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Mika Penttilä,
	Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/sis_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/sis_i2c.c b/drivers/input/touchscreen/sis_i2c.c
index 6274555f1673..5a493b15b25d 100644
--- a/drivers/input/touchscreen/sis_i2c.c
+++ b/drivers/input/touchscreen/sis_i2c.c
@@ -296,8 +296,7 @@ static void sis_ts_reset(struct sis_ts_data *ts)
 	}
 }
 
-static int sis_ts_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int sis_ts_probe(struct i2c_client *client)
 {
 	struct sis_ts_data *ts;
 	struct input_dev *input;
@@ -394,7 +393,7 @@ static struct i2c_driver sis_ts_driver = {
 		.name	= SIS_I2C_NAME,
 		.of_match_table = of_match_ptr(sis_ts_dt_ids),
 	},
-	.probe		= sis_ts_probe,
+	.probe_new	= sis_ts_probe,
 	.id_table	= sis_ts_id,
 };
 module_i2c_driver(sis_ts_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 259/606] Input: st1232 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (67 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 258/606] Input: sis_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 260/606] Input: stmfts " Uwe Kleine-König
                   ` (15 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/st1232.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index e38ba3e4f183..bd68633dc6c0 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -220,9 +220,9 @@ static const struct st_chip_info st1633_chip_info = {
 	.max_fingers	= 5,
 };
 
-static int st1232_ts_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int st1232_ts_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	const struct st_chip_info *match;
 	struct st1232_ts_data *ts;
 	struct input_dev *input_dev;
@@ -384,7 +384,7 @@ static const struct of_device_id st1232_ts_dt_ids[] = {
 MODULE_DEVICE_TABLE(of, st1232_ts_dt_ids);
 
 static struct i2c_driver st1232_ts_driver = {
-	.probe		= st1232_ts_probe,
+	.probe_new	= st1232_ts_probe,
 	.id_table	= st1232_ts_id,
 	.driver = {
 		.name	= ST1232_TS_NAME,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 260/606] Input: stmfts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (68 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 259/606] Input: st1232 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 261/606] Input: sx8654 " Uwe Kleine-König
                   ` (14 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Maxime Coquelin, Alexandre Torgue,
	Heikki Krogerus, Jonathan Cameron, Srinivas Pandruvada,
	Zheng Yongjun
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input,
	linux-stm32, linux-arm-kernel, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/stmfts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/stmfts.c b/drivers/input/touchscreen/stmfts.c
index d5bd170808fb..d092e89d40e8 100644
--- a/drivers/input/touchscreen/stmfts.c
+++ b/drivers/input/touchscreen/stmfts.c
@@ -624,8 +624,7 @@ static int stmfts_enable_led(struct stmfts_data *sdata)
 	return 0;
 }
 
-static int stmfts_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int stmfts_probe(struct i2c_client *client)
 {
 	int err;
 	struct stmfts_data *sdata;
@@ -809,7 +808,7 @@ static struct i2c_driver stmfts_driver = {
 		.pm = &stmfts_pm_ops,
 		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
-	.probe = stmfts_probe,
+	.probe_new = stmfts_probe,
 	.remove = stmfts_remove,
 	.id_table = stmfts_id,
 };
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 261/606] Input: sx8654 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (69 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 260/606] Input: stmfts " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 262/606] Input: tsc2004 " Uwe Kleine-König
                   ` (13 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/sx8654.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index de85e57b2486..52ae73035830 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -306,9 +306,9 @@ static void sx8654_close(struct input_dev *dev)
 	}
 }
 
-static int sx8654_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int sx8654_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	struct sx8654 *sx8654;
 	struct input_dev *input;
 	int error;
@@ -470,7 +470,7 @@ static struct i2c_driver sx8654_driver = {
 		.of_match_table = of_match_ptr(sx8654_of_match),
 	},
 	.id_table = sx8654_id_table,
-	.probe = sx8654_probe,
+	.probe_new = sx8654_probe,
 };
 module_i2c_driver(sx8654_driver);
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 262/606] Input: tsc2004 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (70 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 261/606] Input: sx8654 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 263/606] Input: tsc2007_core " Uwe Kleine-König
                   ` (12 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Miguel Ojeda, Hans Verkuil, Maximilian Luz
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/tsc2004.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/tsc2004.c b/drivers/input/touchscreen/tsc2004.c
index a9565353ee98..575768b587bb 100644
--- a/drivers/input/touchscreen/tsc2004.c
+++ b/drivers/input/touchscreen/tsc2004.c
@@ -34,8 +34,7 @@ static int tsc2004_cmd(struct device *dev, u8 cmd)
 	return 0;
 }
 
-static int tsc2004_probe(struct i2c_client *i2c,
-			 const struct i2c_device_id *id)
+static int tsc2004_probe(struct i2c_client *i2c)
 
 {
 	return tsc200x_probe(&i2c->dev, i2c->irq, &tsc2004_input_id,
@@ -69,7 +68,7 @@ static struct i2c_driver tsc2004_driver = {
 		.pm     = &tsc200x_pm_ops,
 	},
 	.id_table       = tsc2004_idtable,
-	.probe          = tsc2004_probe,
+	.probe_new      = tsc2004_probe,
 	.remove         = tsc2004_remove,
 };
 module_i2c_driver(tsc2004_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 263/606] Input: tsc2007_core - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (71 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 262/606] Input: tsc2004 " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:39 ` [PATCH 264/606] Input: wacom_i2c " Uwe Kleine-König
                   ` (11 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/tsc2007_core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/tsc2007_core.c b/drivers/input/touchscreen/tsc2007_core.c
index 3e871d182c40..3c793fb70a0e 100644
--- a/drivers/input/touchscreen/tsc2007_core.c
+++ b/drivers/input/touchscreen/tsc2007_core.c
@@ -302,9 +302,9 @@ static void tsc2007_call_exit_platform_hw(void *data)
 	pdata->exit_platform_hw();
 }
 
-static int tsc2007_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int tsc2007_probe(struct i2c_client *client)
 {
+	const struct i2c_device_id *id = i2c_client_get_device_id(client);
 	const struct tsc2007_platform_data *pdata =
 		dev_get_platdata(&client->dev);
 	struct tsc2007 *ts;
@@ -431,7 +431,7 @@ static struct i2c_driver tsc2007_driver = {
 		.of_match_table = tsc2007_of_match,
 	},
 	.id_table	= tsc2007_idtable,
-	.probe		= tsc2007_probe,
+	.probe_new	= tsc2007_probe,
 };
 
 module_i2c_driver(tsc2007_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 264/606] Input: wacom_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (72 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 263/606] Input: tsc2007_core " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 23:27   ` Alistair
  2022-11-18 22:39 ` [PATCH 265/606] Input: wdt87xx_i2c " Uwe Kleine-König
                   ` (10 subsequent siblings)
  84 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Alistair Francis
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/wacom_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c
index 141754b2764c..c9188ee00c62 100644
--- a/drivers/input/touchscreen/wacom_i2c.c
+++ b/drivers/input/touchscreen/wacom_i2c.c
@@ -162,8 +162,7 @@ static void wacom_i2c_close(struct input_dev *dev)
 	disable_irq(client->irq);
 }
 
-static int wacom_i2c_probe(struct i2c_client *client,
-			   const struct i2c_device_id *id)
+static int wacom_i2c_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct wacom_i2c *wac_i2c;
@@ -265,7 +264,7 @@ static struct i2c_driver wacom_i2c_driver = {
 		.pm	= &wacom_i2c_pm,
 	},
 
-	.probe		= wacom_i2c_probe,
+	.probe_new	= wacom_i2c_probe,
 	.id_table	= wacom_i2c_id,
 };
 module_i2c_driver(wacom_i2c_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 265/606] Input: wdt87xx_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (73 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 264/606] Input: wacom_i2c " Uwe Kleine-König
@ 2022-11-18 22:39 ` Uwe Kleine-König
  2022-11-18 22:40 ` [PATCH 266/606] Input: zet6223 " Uwe Kleine-König
                   ` (9 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:39 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/wdt87xx_i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/wdt87xx_i2c.c b/drivers/input/touchscreen/wdt87xx_i2c.c
index 166edeb77776..3f87db5cdca4 100644
--- a/drivers/input/touchscreen/wdt87xx_i2c.c
+++ b/drivers/input/touchscreen/wdt87xx_i2c.c
@@ -1064,8 +1064,7 @@ static int wdt87xx_ts_create_input_device(struct wdt87xx_data *wdt)
 	return 0;
 }
 
-static int wdt87xx_ts_probe(struct i2c_client *client,
-			    const struct i2c_device_id *id)
+static int wdt87xx_ts_probe(struct i2c_client *client)
 {
 	struct wdt87xx_data *wdt;
 	int error;
@@ -1170,7 +1169,7 @@ static const struct acpi_device_id wdt87xx_acpi_id[] = {
 MODULE_DEVICE_TABLE(acpi, wdt87xx_acpi_id);
 
 static struct i2c_driver wdt87xx_driver = {
-	.probe		= wdt87xx_ts_probe,
+	.probe_new	= wdt87xx_ts_probe,
 	.id_table	= wdt87xx_dev_id,
 	.driver	= {
 		.name	= WDT87XX_NAME,
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 266/606] Input: zet6223 - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (74 preceding siblings ...)
  2022-11-18 22:39 ` [PATCH 265/606] Input: wdt87xx_i2c " Uwe Kleine-König
@ 2022-11-18 22:40 ` Uwe Kleine-König
  2022-11-18 22:40 ` [PATCH 267/606] Input: zforce_ts " Uwe Kleine-König
                   ` (8 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:40 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/zet6223.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/zet6223.c b/drivers/input/touchscreen/zet6223.c
index 3b6f7ee1e38f..bfa0c637d569 100644
--- a/drivers/input/touchscreen/zet6223.c
+++ b/drivers/input/touchscreen/zet6223.c
@@ -167,8 +167,7 @@ static int zet6223_query_device(struct zet6223_ts *ts)
 	return 0;
 }
 
-static int zet6223_probe(struct i2c_client *client,
-			 const struct i2c_device_id *id)
+static int zet6223_probe(struct i2c_client *client)
 {
 	struct device *dev = &client->dev;
 	struct zet6223_ts *ts;
@@ -249,7 +248,7 @@ static struct i2c_driver zet6223_driver = {
 		.name = "zet6223",
 		.of_match_table = zet6223_of_match,
 	},
-	.probe = zet6223_probe,
+	.probe_new = zet6223_probe,
 	.id_table = zet6223_id
 };
 module_i2c_driver(zet6223_driver);
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [PATCH 267/606] Input: zforce_ts - Convert to i2c's .probe_new()
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (75 preceding siblings ...)
  2022-11-18 22:40 ` [PATCH 266/606] Input: zet6223 " Uwe Kleine-König
@ 2022-11-18 22:40 ` Uwe Kleine-König
  2022-11-19  6:50 ` [PATCH 000/606] i2c: Complete conversion to i2c_probe_new patchwork-bot+chrome-platform
                   ` (7 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:40 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/input/touchscreen/zforce_ts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c
index 495629628af6..24e78ca83fa3 100644
--- a/drivers/input/touchscreen/zforce_ts.c
+++ b/drivers/input/touchscreen/zforce_ts.c
@@ -732,8 +732,7 @@ static struct zforce_ts_platdata *zforce_parse_dt(struct device *dev)
 	return pdata;
 }
 
-static int zforce_probe(struct i2c_client *client,
-			const struct i2c_device_id *id)
+static int zforce_probe(struct i2c_client *client)
 {
 	const struct zforce_ts_platdata *pdata = dev_get_platdata(&client->dev);
 	struct zforce_ts *ts;
@@ -945,7 +944,7 @@ static struct i2c_driver zforce_driver = {
 		.pm	= &zforce_pm_ops,
 		.of_match_table	= of_match_ptr(zforce_dt_idtable),
 	},
-	.probe		= zforce_probe,
+	.probe_new	= zforce_probe,
 	.id_table	= zforce_idtable,
 };
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* Re: [PATCH 264/606] Input: wacom_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 264/606] Input: wacom_i2c " Uwe Kleine-König
@ 2022-11-18 23:27   ` Alistair
  0 siblings, 0 replies; 101+ messages in thread
From: Alistair @ 2022-11-18 23:27 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input,
	Linux Kernel Mailing List

On Sat, 19 Nov 2022, at 8:39 AM, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Reviewed-by: Alistair Francis <alistair@alistair23.me>

> ---
> drivers/input/touchscreen/wacom_i2c.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c
> index 141754b2764c..c9188ee00c62 100644
> --- a/drivers/input/touchscreen/wacom_i2c.c
> +++ b/drivers/input/touchscreen/wacom_i2c.c
> @@ -162,8 +162,7 @@ static void wacom_i2c_close(struct input_dev *dev)
> disable_irq(client->irq);
> }
>  
> -static int wacom_i2c_probe(struct i2c_client *client,
> -    const struct i2c_device_id *id)
> +static int wacom_i2c_probe(struct i2c_client *client)
> {
> struct device *dev = &client->dev;
> struct wacom_i2c *wac_i2c;
> @@ -265,7 +264,7 @@ static struct i2c_driver wacom_i2c_driver = {
> .pm = &wacom_i2c_pm,
> },
>  
> - .probe = wacom_i2c_probe,
> + .probe_new = wacom_i2c_probe,
> .id_table = wacom_i2c_id,
> };
> module_i2c_driver(wacom_i2c_driver);
> -- 
> 2.38.1
> 
> 

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (77 preceding siblings ...)
  2022-11-19  6:50 ` [PATCH 000/606] i2c: Complete conversion to i2c_probe_new patchwork-bot+chrome-platform
@ 2022-11-19  6:50 ` patchwork-bot+chrome-platform
  2022-11-19 11:10 ` Wolfram Sang
                   ` (5 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: patchwork-bot+chrome-platform @ 2022-11-19  6:50 UTC (permalink / raw)
  To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig_=3Cuwe=40kleine-koenig=2Eorg=3E?=
  Cc: ang.iglesiasg, lee.jones, grant.likely, wsa, linux-i2c, kernel,
	linux-integrity, linux-kernel, linux-arm-kernel, linux-crypto,
	linux-gpio, bcm-kernel-feedback-list, linux-rpi-kernel,
	linux-iio, linux-input, platform-driver-x86, linux-stm32,
	linux-leds, linuxppc-dev, linux-media, patches, linux-actions,
	linux-renesas-soc, linux-amlogic, alsa-devel, linux-omap,
	linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, kernel, linux-pwm, linux-rtc,
	linux-spi, linux-staging, linux-serial, linux-usb, linux-fbdev,
	linux-watchdog, openipmi-developer

Hello:

This patch was applied to chrome-platform/linux.git (for-next)
by Tzung-Bi Shih <tzungbi@kernel.org>:

On Fri, 18 Nov 2022 23:35:34 +0100 you wrote:
> Hello,
> 
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.
> 
> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> [...]

Here is the summary with links:
  - [512/606] platform/chrome: cros_ec: Convert to i2c's .probe_new()
    https://git.kernel.org/chrome-platform/c/f9e510dc92df

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (76 preceding siblings ...)
  2022-11-18 22:40 ` [PATCH 267/606] Input: zforce_ts " Uwe Kleine-König
@ 2022-11-19  6:50 ` patchwork-bot+chrome-platform
  2022-11-19  6:50 ` patchwork-bot+chrome-platform
                   ` (6 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: patchwork-bot+chrome-platform @ 2022-11-19  6:50 UTC (permalink / raw)
  To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig_=3Cuwe=40kleine-koenig=2Eorg=3E?=
  Cc: ang.iglesiasg, lee.jones, grant.likely, wsa, linux-i2c, kernel,
	linux-integrity, linux-kernel, linux-arm-kernel, linux-crypto,
	linux-gpio, bcm-kernel-feedback-list, linux-rpi-kernel,
	linux-iio, linux-input, platform-driver-x86, linux-stm32,
	linux-leds, linuxppc-dev, linux-media, patches, linux-actions,
	linux-renesas-soc, linux-amlogic, alsa-devel, linux-omap,
	linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, kernel, linux-pwm, linux-rtc,
	linux-spi, linux-staging, linux-serial, linux-usb, linux-fbdev,
	linux-watchdog, openipmi-developer

Hello:

This patch was applied to chrome-platform/linux.git (for-kernelci)
by Tzung-Bi Shih <tzungbi@kernel.org>:

On Fri, 18 Nov 2022 23:35:34 +0100 you wrote:
> Hello,
> 
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.
> 
> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> [...]

Here is the summary with links:
  - [512/606] platform/chrome: cros_ec: Convert to i2c's .probe_new()
    https://git.kernel.org/chrome-platform/c/f9e510dc92df

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 228/606] Input: auo-pixcir-ts - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 228/606] Input: auo-pixcir-ts " Uwe Kleine-König
@ 2022-11-19  8:41   ` Heiko Stübner
  0 siblings, 0 replies; 101+ messages in thread
From: Heiko Stübner @ 2022-11-19  8:41 UTC (permalink / raw)
  To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Uwe Kleine-König
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

Am Freitag, 18. November 2022, 23:39:22 CET schrieb Uwe Kleine-König:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>

> ---
>  drivers/input/touchscreen/auo-pixcir-ts.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c
> index 2deae5a6823a..a4a1d58aeeac 100644
> --- a/drivers/input/touchscreen/auo-pixcir-ts.c
> +++ b/drivers/input/touchscreen/auo-pixcir-ts.c
> @@ -482,8 +482,7 @@ static void auo_pixcir_reset(void *data)
>  	gpiod_set_value_cansleep(ts->gpio_rst, 1);
>  }
>  
> -static int auo_pixcir_probe(struct i2c_client *client,
> -			    const struct i2c_device_id *id)
> +static int auo_pixcir_probe(struct i2c_client *client)
>  {
>  	struct auo_pixcir_ts *ts;
>  	struct input_dev *input_dev;
> @@ -637,7 +636,7 @@ static struct i2c_driver auo_pixcir_driver = {
>  		.pm	= &auo_pixcir_pm_ops,
>  		.of_match_table	= of_match_ptr(auo_pixcir_ts_dt_idtable),
>  	},
> -	.probe		= auo_pixcir_probe,
> +	.probe_new	= auo_pixcir_probe,
>  	.id_table	= auo_pixcir_idtable,
>  };
>  
> 





^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (78 preceding siblings ...)
  2022-11-19  6:50 ` patchwork-bot+chrome-platform
@ 2022-11-19 11:10 ` Wolfram Sang
  2022-11-20 19:43 ` Sebastian Reichel
                   ` (4 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Wolfram Sang @ 2022-11-19 11:10 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, linux-i2c, kernel,
	linux-integrity, linux-kernel, linux-arm-kernel, linux-crypto,
	linux-gpio, Broadcom internal kernel review list,
	linux-rpi-kernel, linux-iio, linux-input, platform-driver-x86,
	linux-stm32, linux-leds, linuxppc-dev, linux-media, patches,
	linux-actions, linux-renesas-soc, linux-amlogic, alsa-devel,
	linux-omap, linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, Purism Kernel Team, linux-pwm,
	linux-rtc, linux-spi, linux-staging, linux-serial, linux-usb,
	linux-fbdev, linux-watchdog, openipmi-developer

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hi Uwe,

> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.

Thanks for this work, really, but oh my poor inbox...

> I don't think it's feasable to apply this series in one go, so I ask the
> maintainers of the changed files to apply via their tree.

This seems reasonable. It would have made sense to send "patch series
per subsystem" then. So people only see the subset they are interested
in. I know filename-to-subsys mapping is hardly ever perfect. But in my
experience, even imperfect, it is more convenient than such a huge patch
series.

Happy hacking,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 221/606] Input: elan_i2c_core - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 221/606] Input: elan_i2c_core " Uwe Kleine-König
@ 2022-11-19 12:57   ` Hans de Goede
  0 siblings, 0 replies; 101+ messages in thread
From: Hans de Goede @ 2022-11-19 12:57 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Dmitry Torokhov, Greg Kroah-Hartman
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

Hi,

On 11/18/22 23:39, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  drivers/input/mouse/elan_i2c_core.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index d4eb59b55bf1..a25d5b055553 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1188,8 +1188,7 @@ static void elan_disable_regulator(void *_data)
>  	regulator_disable(data->vcc);
>  }
>  
> -static int elan_probe(struct i2c_client *client,
> -		      const struct i2c_device_id *dev_id)
> +static int elan_probe(struct i2c_client *client)
>  {
>  	const struct elan_transport_ops *transport_ops;
>  	struct device *dev = &client->dev;
> @@ -1438,7 +1437,7 @@ static struct i2c_driver elan_driver = {
>  		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
>  		.dev_groups = elan_sysfs_groups,
>  	},
> -	.probe		= elan_probe,
> +	.probe_new	= elan_probe,
>  	.id_table	= elan_id,
>  };
>  


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 231/606] Input: chipone_icn8318 - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 231/606] Input: chipone_icn8318 " Uwe Kleine-König
@ 2022-11-19 12:57   ` Hans de Goede
  0 siblings, 0 replies; 101+ messages in thread
From: Hans de Goede @ 2022-11-19 12:57 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

Hi,

On 11/18/22 23:39, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  drivers/input/touchscreen/chipone_icn8318.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/chipone_icn8318.c b/drivers/input/touchscreen/chipone_icn8318.c
> index f2fb41fb031e..f6769e4bd4f2 100644
> --- a/drivers/input/touchscreen/chipone_icn8318.c
> +++ b/drivers/input/touchscreen/chipone_icn8318.c
> @@ -176,8 +176,7 @@ static int icn8318_resume(struct device *dev)
>  
>  static SIMPLE_DEV_PM_OPS(icn8318_pm_ops, icn8318_suspend, icn8318_resume);
>  
> -static int icn8318_probe(struct i2c_client *client,
> -			 const struct i2c_device_id *id)
> +static int icn8318_probe(struct i2c_client *client)
>  {
>  	struct device *dev = &client->dev;
>  	struct icn8318_data *data;
> @@ -267,7 +266,7 @@ static struct i2c_driver icn8318_driver = {
>  		.pm	= &icn8318_pm_ops,
>  		.of_match_table = icn8318_of_match,
>  	},
> -	.probe = icn8318_probe,
> +	.probe_new = icn8318_probe,
>  	.id_table = icn8318_i2c_id,
>  };
>  


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 241/606] Input: goodix - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 241/606] Input: goodix " Uwe Kleine-König
@ 2022-11-19 12:57   ` Hans de Goede
  0 siblings, 0 replies; 101+ messages in thread
From: Hans de Goede @ 2022-11-19 12:57 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Bastien Nocera, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel

Hi,

On 11/18/22 23:39, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans

> ---
>  drivers/input/touchscreen/goodix.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
> index c281e49826c2..8a0a8078de8f 100644
> --- a/drivers/input/touchscreen/goodix.c
> +++ b/drivers/input/touchscreen/goodix.c
> @@ -1282,8 +1282,7 @@ static void goodix_disable_regulators(void *arg)
>  	regulator_disable(ts->avdd28);
>  }
>  
> -static int goodix_ts_probe(struct i2c_client *client,
> -			   const struct i2c_device_id *id)
> +static int goodix_ts_probe(struct i2c_client *client)
>  {
>  	struct goodix_ts_data *ts;
>  	const char *cfg_name;
> @@ -1537,7 +1536,7 @@ MODULE_DEVICE_TABLE(of, goodix_of_match);
>  #endif
>  
>  static struct i2c_driver goodix_ts_driver = {
> -	.probe = goodix_ts_probe,
> +	.probe_new = goodix_ts_probe,
>  	.remove = goodix_ts_remove,
>  	.id_table = goodix_ts_id,
>  	.driver = {


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 257/606] Input: silead - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 257/606] Input: silead " Uwe Kleine-König
@ 2022-11-19 12:59   ` Hans de Goede
  0 siblings, 0 replies; 101+ messages in thread
From: Hans de Goede @ 2022-11-19 12:59 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input,
	platform-driver-x86, linux-kernel

Hi,

On 11/18/22 23:39, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> .probe_new() doesn't get the i2c_device_id * parameter, so determine
> that explicitly in the probe function.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  drivers/input/touchscreen/silead.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/silead.c b/drivers/input/touchscreen/silead.c
> index 3eef8c01090f..8a7351c4414c 100644
> --- a/drivers/input/touchscreen/silead.c
> +++ b/drivers/input/touchscreen/silead.c
> @@ -652,9 +652,9 @@ static void silead_disable_regulator(void *arg)
>  	regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators);
>  }
>  
> -static int silead_ts_probe(struct i2c_client *client,
> -			   const struct i2c_device_id *id)
> +static int silead_ts_probe(struct i2c_client *client)
>  {
> +	const struct i2c_device_id *id = i2c_client_get_device_id(client);
>  	struct silead_ts_data *data;
>  	struct device *dev = &client->dev;
>  	int error;
> @@ -826,7 +826,7 @@ MODULE_DEVICE_TABLE(of, silead_ts_of_match);
>  #endif
>  
>  static struct i2c_driver silead_ts_driver = {
> -	.probe = silead_ts_probe,
> +	.probe_new = silead_ts_probe,
>  	.id_table = silead_ts_id,
>  	.driver = {
>  		.name = SILEAD_TS_NAME,


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 247/606] Input: iqs5xx - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 247/606] Input: iqs5xx " Uwe Kleine-König
@ 2022-11-20 18:41   ` Jeff LaBundy
  0 siblings, 0 replies; 101+ messages in thread
From: Jeff LaBundy @ 2022-11-20 18:41 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, linux-i2c, kernel, Uwe Kleine-König,
	linux-input, linux-kernel

On Fri, Nov 18, 2022 at 11:39:41PM +0100, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Acked-by: Jeff LaBundy <jeff@labundy.com>

> ---
>  drivers/input/touchscreen/iqs5xx.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/iqs5xx.c b/drivers/input/touchscreen/iqs5xx.c
> index 34c4cca57d13..dc3137a34f35 100644
> --- a/drivers/input/touchscreen/iqs5xx.c
> +++ b/drivers/input/touchscreen/iqs5xx.c
> @@ -1019,8 +1019,7 @@ static int __maybe_unused iqs5xx_resume(struct device *dev)
>  
>  static SIMPLE_DEV_PM_OPS(iqs5xx_pm, iqs5xx_suspend, iqs5xx_resume);
>  
> -static int iqs5xx_probe(struct i2c_client *client,
> -			const struct i2c_device_id *id)
> +static int iqs5xx_probe(struct i2c_client *client)
>  {
>  	struct iqs5xx_private *iqs5xx;
>  	int error;
> @@ -1094,7 +1093,7 @@ static struct i2c_driver iqs5xx_i2c_driver = {
>  		.pm		= &iqs5xx_pm,
>  	},
>  	.id_table	= iqs5xx_id,
> -	.probe		= iqs5xx_probe,
> +	.probe_new	= iqs5xx_probe,
>  };
>  module_i2c_driver(iqs5xx_i2c_driver);
>  
> -- 
> 2.38.1
> 

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (79 preceding siblings ...)
  2022-11-19 11:10 ` Wolfram Sang
@ 2022-11-20 19:43 ` Sebastian Reichel
  2022-11-21  9:53 ` Lee Jones
                   ` (3 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Sebastian Reichel @ 2022-11-20 19:43 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, linux-i2c,
	kernel, linux-integrity, linux-kernel, linux-arm-kernel,
	linux-crypto, linux-gpio, Broadcom internal kernel review list,
	linux-rpi-kernel, linux-iio, linux-input, platform-driver-x86,
	linux-stm32, linux-leds, linuxppc-dev, linux-media, patches,
	linux-actions, linux-renesas-soc, linux-amlogic, alsa-devel,
	linux-omap, linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, Purism Kernel Team, linux-pwm,
	linux-rtc, linux-spi, linux-staging, linux-serial, linux-usb,
	linux-fbdev, linux-watchdog, openipmi-developer

[-- Attachment #1: Type: text/plain, Size: 2954 bytes --]

Hi,

On Fri, Nov 18, 2022 at 11:35:34PM +0100, Uwe Kleine-König wrote:
> Hello,
> 
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.
> 
> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> 	https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable
> 
> I don't think it's feasable to apply this series in one go, so I ask the
> maintainers of the changed files to apply via their tree. I guess it
> will take a few kernel release iterations until all patch are in, but I
> think a single tree creates too much conflicts.
> 
> The last patch changes i2c_driver::probe, all non-converted drivers will
> fail to compile then. So I hope the build bots will tell me about any
> driver I missed to convert. This patch is obviously not for application
> now.
> 
> I dropped most individuals from the recipents of this mail to not
> challenge the mail servers and mailing list filters too much. Sorry if
> you had extra efforts to find this mail.
> 
> Best regards
> Uwe

...

>   power: supply: adp5061: Convert to i2c's .probe_new()
>   power: supply: bq2415x: Convert to i2c's .probe_new()
>   power: supply: bq24190: Convert to i2c's .probe_new()
>   power: supply: bq24257: Convert to i2c's .probe_new()
>   power: supply: bq24735: Convert to i2c's .probe_new()
>   power: supply: bq2515x: Convert to i2c's .probe_new()
>   power: supply: bq256xx: Convert to i2c's .probe_new()
>   power: supply: bq25890: Convert to i2c's .probe_new()
>   power: supply: bq25980: Convert to i2c's .probe_new()
>   power: supply: bq27xxx: Convert to i2c's .probe_new()
>   power: supply: ds2782: Convert to i2c's .probe_new()
>   power: supply: lp8727: Convert to i2c's .probe_new()
>   power: supply: ltc2941: Convert to i2c's .probe_new()
>   power: supply: ltc4162-l: Convert to i2c's .probe_new()
>   power: supply: max14656: Convert to i2c's .probe_new()
>   power: supply: max17040: Convert to i2c's .probe_new()
>   power: supply: max17042_battery: Convert to i2c's .probe_new()
>   power: supply: rt5033_battery: Convert to i2c's .probe_new()
>   power: supply: rt9455: Convert to i2c's .probe_new()
>   power: supply: sbs: Convert to i2c's .probe_new()
>   power: supply: sbs-manager: Convert to i2c's .probe_new()
>   power: supply: smb347: Convert to i2c's .probe_new()
>   power: supply: ucs1002: Convert to i2c's .probe_new()
>   power: supply: z2_battery: Convert to i2c's .probe_new()
>   [...]

Thanks, I queued patches 513-536 to the power-supply subsystem.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 237/606] Input: edt-ft5x06 - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 237/606] Input: edt-ft5x06 " Uwe Kleine-König
@ 2022-11-21  7:42   ` Oliver Graute
  0 siblings, 0 replies; 101+ messages in thread
From: Oliver Graute @ 2022-11-21  7:42 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Michael Trimarchi, Dario Binacchi, Wolfram Sang,
	linux-i2c, kernel, Uwe Kleine-König, linux-input,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]



> Am 18.11.2022 um 23:39 schrieb Uwe Kleine-König <uwe@kleine-koenig.org>:
> 
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> .probe_new() doesn't get the i2c_device_id * parameter, so determine
> that explicitly in the probe function.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Acked-by: Oliver Graute <oliver.graute@kococonnector.com>

> ---
> drivers/input/touchscreen/edt-ft5x06.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
> index 9ac1378610bc..ddd0f1f62458 100644
> --- a/drivers/input/touchscreen/edt-ft5x06.c
> +++ b/drivers/input/touchscreen/edt-ft5x06.c
> @@ -1131,9 +1131,9 @@ static void edt_ft5x06_disable_regulators(void *arg)
> regulator_disable(data->iovcc);
> }
> 
> -static int edt_ft5x06_ts_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int edt_ft5x06_ts_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> const struct edt_i2c_chip_data *chip_data;
> struct edt_ft5x06_ts_data *tsdata;
> u8 buf[2] = { 0xfc, 0x00 };
> @@ -1504,7 +1504,7 @@ static struct i2c_driver edt_ft5x06_ts_driver = {
> .probe_type = PROBE_PREFER_ASYNCHRONOUS,
> },
> .id_table = edt_ft5x06_ts_id,
> - .probe    = edt_ft5x06_ts_probe,
> + .probe_new = edt_ft5x06_ts_probe,
> .remove   = edt_ft5x06_ts_remove,
> };
> 
> --
> 2.38.1
> 


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* RE: [PATCH 192/606] Input: adp5588-keys - Convert to i2c's .probe_new()
  2022-11-18 22:38 ` [PATCH 192/606] Input: adp5588-keys " Uwe Kleine-König
@ 2022-11-21  9:48   ` Hennerich, Michael
  2022-12-02 10:52   ` Uwe Kleine-König
  1 sibling, 0 replies; 101+ messages in thread
From: Hennerich, Michael @ 2022-11-21  9:48 UTC (permalink / raw)
  To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
	Wolfram Sang, Dmitry Torokhov
  Cc: linux-i2c, kernel, Uwe Kleine-König, linux-input, linux-kernel



> -----Original Message-----
> From: Uwe Kleine-König <uwe@kleine-koenig.org>
> Sent: Freitag, 18. November 2022 23:39
> To: Angel Iglesias <ang.iglesiasg@gmail.com>; Lee Jones
> <lee.jones@linaro.org>; Grant Likely <grant.likely@linaro.org>; Wolfram
> Sang <wsa@kernel.org>; Hennerich, Michael
> <Michael.Hennerich@analog.com>; Dmitry Torokhov
> <dmitry.torokhov@gmail.com>
> Cc: linux-i2c@vger.kernel.org; kernel@pengutronix.de; Uwe Kleine-König
> <u.kleine-koenig@pengutronix.de>; linux-input@vger.kernel.org; linux-
> kernel@vger.kernel.org
> Subject: [PATCH 192/606] Input: adp5588-keys - Convert to i2c's
> .probe_new()
> 
> 
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Acked-by: Michael Hennerich <michael.hennerich@analog.com>

> ---
>  drivers/input/keyboard/adp5588-keys.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/keyboard/adp5588-keys.c
> b/drivers/input/keyboard/adp5588-keys.c
> index 7cd83c8e7110..72ae5ce72956 100644
> --- a/drivers/input/keyboard/adp5588-keys.c
> +++ b/drivers/input/keyboard/adp5588-keys.c
> @@ -718,8 +718,7 @@ static void adp5588_disable_regulator(void *reg)
>  	regulator_disable(reg);
>  }
> 
> -static int adp5588_probe(struct i2c_client *client,
> -			 const struct i2c_device_id *id)
> +static int adp5588_probe(struct i2c_client *client)
>  {
>  	struct adp5588_kpad *kpad;
>  	struct input_dev *input;
> @@ -867,7 +866,7 @@ static struct i2c_driver adp5588_driver = {
>  		.of_match_table = adp5588_of_match,
>  		.pm   = pm_sleep_ptr(&adp5588_dev_pm_ops),
>  	},
> -	.probe    = adp5588_probe,
> +	.probe_new = adp5588_probe,
>  	.remove   = adp5588_remove,
>  	.id_table = adp5588_id,
>  };
> --
> 2.38.1


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (80 preceding siblings ...)
  2022-11-20 19:43 ` Sebastian Reichel
@ 2022-11-21  9:53 ` Lee Jones
  2022-11-22 18:58 ` Jonathan Cameron
                   ` (2 subsequent siblings)
  84 siblings, 0 replies; 101+ messages in thread
From: Lee Jones @ 2022-11-21  9:53 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, linux-i2c,
	kernel, linux-integrity, linux-kernel, linux-arm-kernel,
	linux-crypto, linux-gpio, Broadcom internal kernel review list,
	linux-rpi-kernel, linux-iio, linux-input, platform-driver-x86,
	linux-stm32, linux-leds, linuxppc-dev, linux-media, patches,
	linux-actions, linux-renesas-soc, linux-amlogic, alsa-devel,
	linux-omap, linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, Purism Kernel Team, linux-pwm,
	linux-rtc, linux-spi, linux-staging, linux-serial, linux-usb,
	linux-fbdev, linux-watchdog, openipmi-developer

On Fri, 18 Nov 2022, Uwe Kleine-König wrote:

> Hello,
> 
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.

Oh yeah, this!  Thanks for picking this up Uwe, I guess I've been
distracted for the past 6 years or so. :)

> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> 	https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable
> 
> I don't think it's feasable to apply this series in one go, so I ask the
> maintainers of the changed files to apply via their tree. I guess it
> will take a few kernel release iterations until all patch are in, but I
> think a single tree creates too much conflicts.
> 
> The last patch changes i2c_driver::probe, all non-converted drivers will
> fail to compile then. So I hope the build bots will tell me about any
> driver I missed to convert. This patch is obviously not for application
> now.
> 
> I dropped most individuals from the recipents of this mail to not
> challenge the mail servers and mailing list filters too much. Sorry if
> you had extra efforts to find this mail.

[...]

>  drivers/mfd/88pm800.c                            |  5 ++---
>  drivers/mfd/88pm805.c                            |  5 ++---
>  drivers/mfd/aat2870-core.c                       |  5 ++---
>  drivers/mfd/act8945a.c                           |  5 ++---
>  drivers/mfd/adp5520.c                            |  6 +++---
>  drivers/mfd/arizona-i2c.c                        |  6 +++---
>  drivers/mfd/as3711.c                             |  5 ++---
>  drivers/mfd/as3722.c                             |  5 ++---
>  drivers/mfd/atc260x-i2c.c                        |  5 ++---
>  drivers/mfd/axp20x-i2c.c                         |  5 ++---
>  drivers/mfd/bcm590xx.c                           |  5 ++---
>  drivers/mfd/bd9571mwv.c                          |  5 ++---
>  drivers/mfd/da903x.c                             |  6 +++---
>  drivers/mfd/da9052-i2c.c                         |  6 +++---
>  drivers/mfd/da9055-i2c.c                         |  5 ++---
>  drivers/mfd/da9062-core.c                        |  6 +++---
>  drivers/mfd/da9063-i2c.c                         |  6 +++---
>  drivers/mfd/da9150-core.c                        |  5 ++---
>  drivers/mfd/khadas-mcu.c                         |  5 ++---
>  drivers/mfd/lm3533-core.c                        |  5 ++---
>  drivers/mfd/lp3943.c                             |  4 ++--
>  drivers/mfd/lp873x.c                             |  5 ++---
>  drivers/mfd/lp87565.c                            |  5 ++---
>  drivers/mfd/lp8788.c                             |  4 ++--
>  drivers/mfd/madera-i2c.c                         |  6 +++---
>  drivers/mfd/max14577.c                           |  6 +++---
>  drivers/mfd/max77620.c                           |  6 +++---
>  drivers/mfd/max77693.c                           |  6 +++---
>  drivers/mfd/max77843.c                           |  6 +++---
>  drivers/mfd/max8907.c                            |  5 ++---
>  drivers/mfd/max8925-i2c.c                        |  5 ++---
>  drivers/mfd/max8997.c                            |  6 +++---
>  drivers/mfd/max8998.c                            |  6 +++---
>  drivers/mfd/mc13xxx-i2c.c                        |  6 +++---
>  drivers/mfd/menelaus.c                           |  5 ++---
>  drivers/mfd/menf21bmc.c                          |  4 ++--
>  drivers/mfd/palmas.c                             |  5 ++---
>  drivers/mfd/pcf50633-core.c                      |  5 ++---
>  drivers/mfd/rc5t583.c                            |  5 ++---
>  drivers/mfd/retu-mfd.c                           |  4 ++--
>  drivers/mfd/rk808.c                              |  5 ++---
>  drivers/mfd/rohm-bd718x7.c                       |  5 ++---
>  drivers/mfd/rsmu_i2c.c                           |  6 +++---
>  drivers/mfd/rt5033.c                             |  5 ++---
>  drivers/mfd/sec-core.c                           |  5 ++---
>  drivers/mfd/si476x-i2c.c                         |  6 +++---
>  drivers/mfd/sky81452.c                           |  5 ++---
>  drivers/mfd/stmfx.c                              |  5 ++---
>  drivers/mfd/stmpe-i2c.c                          |  5 +++--
>  drivers/mfd/stpmic1.c                            |  5 ++---
>  drivers/mfd/stw481x.c                            |  5 ++---
>  drivers/mfd/tc3589x.c                            |  6 +++---
>  drivers/mfd/ti-lmu.c                             |  5 +++--
>  drivers/mfd/tps6105x.c                           |  5 ++---
>  drivers/mfd/tps65010.c                           |  6 +++---
>  drivers/mfd/tps6507x.c                           |  5 ++---
>  drivers/mfd/tps65086.c                           |  5 ++---
>  drivers/mfd/tps65090.c                           |  5 ++---
>  drivers/mfd/tps65218.c                           |  5 ++---
>  drivers/mfd/tps6586x.c                           |  5 ++---
>  drivers/mfd/tps65910.c                           |  6 +++---
>  drivers/mfd/tps65912-i2c.c                       |  5 ++---
>  drivers/mfd/twl-core.c                           |  5 +++--
>  drivers/mfd/twl6040.c                            |  5 ++---
>  drivers/mfd/wl1273-core.c                        |  5 ++---
>  drivers/mfd/wm831x-i2c.c                         |  6 +++---
>  drivers/mfd/wm8350-i2c.c                         |  5 ++---
>  drivers/mfd/wm8400-core.c                        |  5 ++---
>  drivers/mfd/wm8994-core.c                        |  6 +++---

For my own reference (apply this as-is to your sign-off block):

  Acked-for-MFD-by: Lee Jones <lee@kernel.org>

>  drivers/video/backlight/adp8860_bl.c             |  6 +++---
>  drivers/video/backlight/adp8870_bl.c             |  6 +++---
>  drivers/video/backlight/arcxcnn_bl.c             |  4 ++--
>  drivers/video/backlight/bd6107.c                 |  5 ++---
>  drivers/video/backlight/lm3630a_bl.c             |  5 ++---
>  drivers/video/backlight/lm3639_bl.c              |  5 ++---
>  drivers/video/backlight/lp855x_bl.c              |  5 +++--
>  drivers/video/backlight/lv5207lp.c               |  5 ++---
>  drivers/video/backlight/tosa_bl.c                |  5 ++---
>  drivers/video/fbdev/matrox/matroxfb_maven.c      |  5 ++---

For my own reference (apply this as-is to your sign-off block):

  Acked-for-Backlight-by: Lee Jones <lee@kernel.org>

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (81 preceding siblings ...)
  2022-11-21  9:53 ` Lee Jones
@ 2022-11-22 18:58 ` Jonathan Cameron
  2022-11-22 20:16   ` Uwe Kleine-König
  2022-12-09 12:00 ` (subset) " Robert Foss
  2022-12-12 16:36 ` Robert Foss
  84 siblings, 1 reply; 101+ messages in thread
From: Jonathan Cameron @ 2022-11-22 18:58 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, linux-i2c,
	kernel, linux-integrity, linux-kernel, linux-arm-kernel,
	linux-crypto, linux-gpio, Broadcom internal kernel review list,
	linux-rpi-kernel, linux-iio, linux-input, platform-driver-x86,
	linux-stm32, linux-leds, linuxppc-dev, linux-media, patches,
	linux-actions, linux-renesas-soc, linux-amlogic, alsa-devel,
	linux-omap, linux-samsung-soc, linux-mtd, netdev, devicetree,
	chrome-platform, linux-pm, Purism Kernel Team, linux-pwm,
	linux-rtc, linux-spi, linux-staging, linux-serial, linux-usb,
	linux-fbdev, linux-watchdog, openipmi-developer, gregkh


Queued all of the below:
with one tweaked as per your suggestion and the highlighted one dropped on basis
I was already carrying the equivalent - as you pointed out.

I was already carrying the required dependency.

Includes the IIO ones in staging.

Thanks,

Jonathan

p.s. I perhaps foolishly did this in a highly manual way so as to
also pick up Andy's RB.  So might have dropped one...

Definitely would have been better as one patch per subsystem with
a cover letter suitable for replies like Andy's to be picked up
by b4.


>   iio: accel: adxl372_i2c: Convert to i2c's .probe_new()
>   iio: accel: bma180: Convert to i2c's .probe_new()
>   iio: accel: bma400: Convert to i2c's .probe_new()
>   iio: accel: bmc150: Convert to i2c's .probe_new()
>   iio: accel: da280: Convert to i2c's .probe_new()
>   iio: accel: kxcjk-1013: Convert to i2c's .probe_new()
>   iio: accel: mma7455_i2c: Convert to i2c's .probe_new()
>   iio: accel: mma8452: Convert to i2c's .probe_new()
>   iio: accel: mma9551: Convert to i2c's .probe_new()
>   iio: accel: mma9553: Convert to i2c's .probe_new()
>   iio: adc: ad7091r5: Convert to i2c's .probe_new()
>   iio: adc: ad7291: Convert to i2c's .probe_new()
>   iio: adc: ad799x: Convert to i2c's .probe_new()
>   iio: adc: ina2xx-adc: Convert to i2c's .probe_new()
>   iio: adc: ltc2471: Convert to i2c's .probe_new()
>   iio: adc: ltc2485: Convert to i2c's .probe_new()
>   iio: adc: ltc2497: Convert to i2c's .probe_new()
>   iio: adc: max1363: Convert to i2c's .probe_new()
>   iio: adc: max9611: Convert to i2c's .probe_new()
>   iio: adc: mcp3422: Convert to i2c's .probe_new()
>   iio: adc: ti-adc081c: Convert to i2c's .probe_new()
>   iio: adc: ti-ads1015: Convert to i2c's .probe_new()
>   iio: cdc: ad7150: Convert to i2c's .probe_new()
>   iio: cdc: ad7746: Convert to i2c's .probe_new()
>   iio: chemical: ams-iaq-core: Convert to i2c's .probe_new()
>   iio: chemical: atlas-ezo-sensor: Convert to i2c's .probe_new()
>   iio: chemical: atlas-sensor: Convert to i2c's .probe_new()
>   iio: chemical: bme680_i2c: Convert to i2c's .probe_new()
>   iio: chemical: ccs811: Convert to i2c's .probe_new()
>   iio: chemical: scd4x: Convert to i2c's .probe_new()
>   iio: chemical: sgp30: Convert to i2c's .probe_new()
>   iio: chemical: sgp40: Convert to i2c's .probe_new()
>   iio: chemical: vz89x: Convert to i2c's .probe_new()
>   iio: dac: ad5064: Convert to i2c's .probe_new()
>   iio: dac: ad5380: Convert to i2c's .probe_new()
>   iio: dac: ad5446: Convert to i2c's .probe_new()
>   iio: dac: ad5593r: Convert to i2c's .probe_new()
>   iio: dac: ad5696-i2c: Convert to i2c's .probe_new()
>   iio: dac: ds4424: Convert to i2c's .probe_new()
>   iio: dac: m62332: Convert to i2c's .probe_new()
>   iio: dac: max517: Convert to i2c's .probe_new()
>   iio: dac: max5821: Convert to i2c's .probe_new()
>   iio: dac: mcp4725: Convert to i2c's .probe_new()
>   iio: dac: ti-dac5571: Convert to i2c's .probe_new()
>   iio: gyro: bmg160_i2c: Convert to i2c's .probe_new()
>   iio: gyro: itg3200_core: Convert to i2c's .probe_new()
>   iio: gyro: mpu3050-i2c: Convert to i2c's .probe_new()
>   iio: gyro: st_gyro_i2c: Convert to i2c's .probe_new()
>   iio: health: afe4404: Convert to i2c's .probe_new()
>   iio: health: max30100: Convert to i2c's .probe_new()
>   iio: health: max30102: Convert to i2c's .probe_new()
>   iio: humidity: am2315: Convert to i2c's .probe_new()
>   iio: humidity: hdc100x: Convert to i2c's .probe_new()
>   iio: humidity: hdc2010: Convert to i2c's .probe_new()
>   iio: humidity: hts221_i2c: Convert to i2c's .probe_new()
>   iio: humidity: htu21: Convert to i2c's .probe_new()
>   iio: humidity: si7005: Convert to i2c's .probe_new()
>   iio: humidity: si7020: Convert to i2c's .probe_new()
>   iio: imu: bmi160/bmi160_i2c: Convert to i2c's .probe_new()
>   iio: imu: fxos8700_i2c: Convert to i2c's .probe_new()
>   iio: imu: inv_mpu6050: Convert to i2c's .probe_new()
>   iio: imu: kmx61: Convert to i2c's .probe_new()
>   iio: imu: st_lsm6dsx: Convert to i2c's .probe_new()
>   iio: light: adjd_s311: Convert to i2c's .probe_new()
>   iio: light: adux1020: Convert to i2c's .probe_new()
>   iio: light: al3010: Convert to i2c's .probe_new()
>   iio: light: al3320a: Convert to i2c's .probe_new()
>   iio: light: apds9300: Convert to i2c's .probe_new()
>   iio: light: apds9960: Convert to i2c's .probe_new()
>   iio: light: bh1750: Convert to i2c's .probe_new()
>   iio: light: bh1780: Convert to i2c's .probe_new()
>   iio: light: cm3232: Convert to i2c's .probe_new()
>   iio: light: cm3323: Convert to i2c's .probe_new()
>   iio: light: cm36651: Convert to i2c's .probe_new()
>   iio: light: gp2ap002: Convert to i2c's .probe_new()
>   iio: light: gp2ap020a00f: Convert to i2c's .probe_new()
>   iio: light: isl29018: Convert to i2c's .probe_new()
>   iio: light: isl29028: Convert to i2c's .probe_new()
>   iio: light: isl29125: Convert to i2c's .probe_new()
>   iio: light: jsa1212: Convert to i2c's .probe_new()
>   iio: light: ltr501: Convert to i2c's .probe_new()
>   iio: light: lv0104cs: Convert to i2c's .probe_new()
>   iio: light: max44000: Convert to i2c's .probe_new()
>   iio: light: max44009: Convert to i2c's .probe_new()
>   iio: light: noa1305: Convert to i2c's .probe_new()
>   iio: light: opt3001: Convert to i2c's .probe_new()
>   iio: light: pa12203001: Convert to i2c's .probe_new()
>   iio: light: rpr0521: Convert to i2c's .probe_new()
>   iio: light: si1133: Convert to i2c's .probe_new()
>   iio: light: si1145: Convert to i2c's .probe_new()
>   iio: light: st_uvis25_i2c: Convert to i2c's .probe_new()
>   iio: light: stk3310: Convert to i2c's .probe_new()
>   iio: light: tcs3414: Convert to i2c's .probe_new()
>   iio: light: tcs3472: Convert to i2c's .probe_new()
>   iio: light: tsl2563: Convert to i2c's .probe_new()
>   iio: light: tsl2583: Convert to i2c's .probe_new()
>   iio: light: tsl2772: Convert to i2c's .probe_new()
>   iio: light: tsl4531: Convert to i2c's .probe_new()
>   iio: light: us5182d: Convert to i2c's .probe_new()
>   iio: light: vcnl4000: Convert to i2c's .probe_new()
>   iio: light: vcnl4035: Convert to i2c's .probe_new()
>   iio: light: veml6030: Convert to i2c's .probe_new()
>   iio: light: veml6070: Convert to i2c's .probe_new()
>   iio: light: zopt2201: Convert to i2c's .probe_new()
>   iio: magnetometer: ak8974: Convert to i2c's .probe_new()
>   iio: magnetometer: ak8975: Convert to i2c's .probe_new()
>   iio: magnetometer: bmc150_magn_i2c: Convert to i2c's .probe_new()
>   iio: magnetometer: hmc5843: Convert to i2c's .probe_new()
>   iio: magnetometer: mag3110: Convert to i2c's .probe_new()
>   iio: magnetometer: mmc35240: Convert to i2c's .probe_new()
>   iio: magnetometer: yamaha-yas530: Convert to i2c's .probe_new()
>   iio: potentiometer: ad5272: Convert to i2c's .probe_new()
>   iio: potentiometer: ds1803: Convert to i2c's .probe_new()
>   iio: potentiometer: max5432: Convert to i2c's .probe_new()
>   iio: potentiometer: tpl0102: Convert to i2c's .probe_new()
>   iio: potentiostat: lmp91000: Convert to i2c's .probe_new()
>   iio: pressure: abp060mg: Convert to i2c's .probe_new()
Not this one > iio: pressure: bmp280-i2c: Convert to i2c's .probe_new()
>   iio: pressure: dlhl60d: Convert to i2c's .probe_new()
>   iio: pressure: dps310: Convert to i2c's .probe_new()
>   iio: pressure: hp03: Convert to i2c's .probe_new()
>   iio: pressure: hp206c: Convert to i2c's .probe_new()
>   iio: pressure: icp10100: Convert to i2c's .probe_new()
>   iio: pressure: mpl115_i2c: Convert to i2c's .probe_new()
>   iio: pressure: mpl3115: Convert to i2c's .probe_new()
>   iio: pressure: ms5611_i2c: Convert to i2c's .probe_new()
>   iio: pressure: ms5637: Convert to i2c's .probe_new()
>   iio: pressure: st_pressure_i2c: Convert to i2c's .probe_new()
>   iio: pressure: t5403: Convert to i2c's .probe_new()
>   iio: pressure: zpa2326_i2c: Convert to i2c's .probe_new()
>   iio: proximity: isl29501: Convert to i2c's .probe_new()
>   iio: proximity: mb1232: Convert to i2c's .probe_new()
>   iio: proximity: pulsedlight-lidar-lite-v2: Convert to i2c's
>     .probe_new()
>   iio: proximity: rfd77402: Convert to i2c's .probe_new()
>   iio: proximity: srf08: Convert to i2c's .probe_new()
>   iio: proximity: sx9500: Convert to i2c's .probe_new()
>   iio: temperature: mlx90614: Convert to i2c's .probe_new()
>   iio: temperature: mlx90632: Convert to i2c's .probe_new()
>   iio: temperature: tmp006: Convert to i2c's .probe_new()
>   iio: temperature: tmp007: Convert to i2c's .probe_new()
>   iio: temperature: tsys01: Convert to i2c's .probe_new()
>   iio: temperature: tsys02d: Convert to i2c's .probe_new()
...

>   staging: iio: adt7316: Convert to i2c's .probe_new()
>   staging: iio: ad5933: Convert to i2c's .probe_new()
>   staging: iio: ade7854: Convert to i2c's .probe_new()
 

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-22 18:58 ` Jonathan Cameron
@ 2022-11-22 20:16   ` Uwe Kleine-König
  2022-11-26 15:43     ` Andy Shevchenko
  0 siblings, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-11-22 20:16 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Uwe Kleine-König, alsa-devel, linux-staging, linux-pwm,
	linux-iio, linux-fbdev, platform-driver-x86, linux-mtd,
	linux-i2c, Lee Jones, linux-stm32, linux-leds, linux-rtc,
	linux-renesas-soc, linux-samsung-soc, linux-pm,
	Broadcom internal kernel review list, linux-serial, linux-input,
	Grant Likely, linux-media, devicetree, linux-watchdog,
	chrome-platform, linux-actions, linux-gpio, Angel Iglesias,
	gregkh, linux-rpi-kernel, linux-amlogic, openipmi-developer,
	linux-omap, linux-arm-kernel, Purism Kernel Team, patches,
	linux-usb, linux-kernel, linux-spi, Wolfram Sang, linux-crypto,
	kernel, netdev, linux-integrity, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

On Tue, Nov 22, 2022 at 06:58:18PM +0000, Jonathan Cameron wrote:
> 
> Queued all of the below:
> with one tweaked as per your suggestion and the highlighted one dropped on basis
> I was already carrying the equivalent - as you pointed out.
> 
> I was already carrying the required dependency.
> 
> Includes the IIO ones in staging.
> 
> Thanks,
> 
> Jonathan
> 
> p.s. I perhaps foolishly did this in a highly manual way so as to
> also pick up Andy's RB.  So might have dropped one...

You could have done:

	H=$(git rev-parse @)
	b4 am -P 49-190 20221118224540.619276-1-uwe@kleine-koenig.org
	git am ...
	git filter-branch -f --msg-filter "grep -v 'Signed-off-by: Jonathan'; echo 'Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>'; echo 'Signed-off-by: Jonathan Cameron <jic23@kernel.org>'" $H..

(untested, but you get the idea).

> Definitely would have been better as one patch per subsystem with
> a cover letter suitable for replies like Andy's to be picked up
> by b4.

Next time I will go for one series per subsystem which I like better
than one patch per subsystem.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-22 20:16   ` Uwe Kleine-König
@ 2022-11-26 15:43     ` Andy Shevchenko
  0 siblings, 0 replies; 101+ messages in thread
From: Andy Shevchenko @ 2022-11-26 15:43 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Jonathan Cameron, Uwe Kleine-König, alsa-devel,
	linux-staging, linux-pwm, linux-iio, linux-fbdev,
	platform-driver-x86, linux-mtd, linux-i2c, Lee Jones,
	linux-stm32, linux-leds, linux-rtc, linux-renesas-soc,
	linux-samsung-soc, linux-pm,
	Broadcom internal kernel review list, linux-serial, linux-input,
	Grant Likely, linux-media, devicetree, linux-watchdog,
	chrome-platform, linux-actions, linux-gpio, Angel Iglesias,
	gregkh, linux-rpi-kernel, linux-amlogic, openipmi-developer,
	linux-omap, linux-arm-kernel, Purism Kernel Team, patches,
	linux-usb, linux-kernel, linux-spi, Wolfram Sang, linux-crypto,
	kernel, netdev, linux-integrity, linuxppc-dev

On Tue, Nov 22, 2022 at 09:16:54PM +0100, Uwe Kleine-König wrote:
> On Tue, Nov 22, 2022 at 06:58:18PM +0000, Jonathan Cameron wrote:

> > Queued all of the below:
> > with one tweaked as per your suggestion and the highlighted one dropped on basis
> > I was already carrying the equivalent - as you pointed out.
> > 
> > I was already carrying the required dependency.
> > 
> > Includes the IIO ones in staging.
> > 

> > p.s. I perhaps foolishly did this in a highly manual way so as to
> > also pick up Andy's RB.  So might have dropped one...
> 
> You could have done:
> 
> 	H=$(git rev-parse @)
> 	b4 am -P 49-190 20221118224540.619276-1-uwe@kleine-koenig.org
> 	git am ...
> 	git filter-branch -f --msg-filter "grep -v 'Signed-off-by: Jonathan'; echo 'Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>'; echo 'Signed-off-by: Jonathan Cameron <jic23@kernel.org>'" $H..
> 
> (untested, but you get the idea).

That's, for example (just last from the history as is), how I usually do it
(tested):

 git filter-branch --msg-filter 'sed -e "/Signed-off-by: Andy Shevchenko/ a Tested-by: Daniel Scally <dan.scally@ideasonboard.com>"' -f HEAD~4..HEAD


-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 192/606] Input: adp5588-keys - Convert to i2c's .probe_new()
  2022-11-18 22:38 ` [PATCH 192/606] Input: adp5588-keys " Uwe Kleine-König
  2022-11-21  9:48   ` Hennerich, Michael
@ 2022-12-02 10:52   ` Uwe Kleine-König
  2022-12-02 22:58     ` Dmitry Torokhov
  1 sibling, 1 reply; 101+ messages in thread
From: Uwe Kleine-König @ 2022-12-02 10:52 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Michael Hennerich, linux-kernel, linux-input, linux-i2c, kernel

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

Hello Dmitry,

On Fri, Nov 18, 2022 at 11:38:46PM +0100, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

I didn't get any feedback from your side about this patch set.

In case the problem is "only" to get the input patches out of this
series, I recommend:

	b4 am -l -s -P191-267 20221118224540.619276-1-uwe@kleine-koenig.org

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 192/606] Input: adp5588-keys - Convert to i2c's .probe_new()
  2022-12-02 10:52   ` Uwe Kleine-König
@ 2022-12-02 22:58     ` Dmitry Torokhov
  0 siblings, 0 replies; 101+ messages in thread
From: Dmitry Torokhov @ 2022-12-02 22:58 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Michael Hennerich, linux-kernel, linux-input, linux-i2c, kernel

On Fri, Dec 02, 2022 at 11:52:27AM +0100, Uwe Kleine-König wrote:
> Hello Dmitry,
> 
> On Fri, Nov 18, 2022 at 11:38:46PM +0100, Uwe Kleine-König wrote:
> > From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > 
> > The probe function doesn't make use of the i2c_device_id * parameter so it
> > can be trivially converted.
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> I didn't get any feedback from your side about this patch set.
> 
> In case the problem is "only" to get the input patches out of this
> series, I recommend:
> 
> 	b4 am -l -s -P191-267 20221118224540.619276-1-uwe@kleine-koenig.org

Thanks, I was trying to figure out how to consume the relevant portion.
Applied now.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 209/606] Input: atmel_captouch - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 209/606] Input: atmel_captouch " Uwe Kleine-König
@ 2022-12-06 10:49   ` Jean Delvare
  0 siblings, 0 replies; 101+ messages in thread
From: Jean Delvare @ 2022-12-06 10:49 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, linux-i2c, kernel, Uwe Kleine-König,
	linux-input, linux-arm-kernel, linux-kernel

On Fri, 18 Nov 2022 23:39:03 +0100, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/input/misc/atmel_captouch.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/misc/atmel_captouch.c b/drivers/input/misc/atmel_captouch.c
> index 156c699a8913..d9704b174d3a 100644
> --- a/drivers/input/misc/atmel_captouch.c
> +++ b/drivers/input/misc/atmel_captouch.c
> @@ -161,8 +161,7 @@ static irqreturn_t atmel_captouch_isr(int irq, void *data)
>  /*
>   * Probe function to setup the device, input system and interrupt
>   */
> -static int atmel_captouch_probe(struct i2c_client *client,
> -		const struct i2c_device_id *id)
> +static int atmel_captouch_probe(struct i2c_client *client)
>  {
>  	struct atmel_captouch_device *capdev;
>  	struct device *dev = &client->dev;
> @@ -264,7 +263,7 @@ static const struct i2c_device_id atmel_captouch_id[] = {
>  MODULE_DEVICE_TABLE(i2c, atmel_captouch_id);
>  
>  static struct i2c_driver atmel_captouch_driver = {
> -	.probe		= atmel_captouch_probe,
> +	.probe_new	= atmel_captouch_probe,
>  	.id_table	= atmel_captouch_id,
>  	.driver		= {
>  		.name	= "atmel_captouch",

Reviewed-by: Jean Delvare <jdelvare@suse.de>

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: [PATCH 222/606] Input: synaptics_i2c - Convert to i2c's .probe_new()
  2022-11-18 22:39 ` [PATCH 222/606] Input: synaptics_i2c " Uwe Kleine-König
@ 2022-12-06 10:49   ` Jean Delvare
  0 siblings, 0 replies; 101+ messages in thread
From: Jean Delvare @ 2022-12-06 10:49 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
	Dmitry Torokhov, Peter Senna Tschudin, Krzysztof Hałasa,
	Greg Kroah-Hartman, linux-i2c, kernel, Uwe Kleine-König,
	linux-input, linux-kernel

On Fri, 18 Nov 2022 23:39:16 +0100, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> The probe function doesn't make use of the i2c_device_id * parameter so it
> can be trivially converted.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/input/mouse/synaptics_i2c.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c
> index 987ee67a1045..6487c8c60d5e 100644
> --- a/drivers/input/mouse/synaptics_i2c.c
> +++ b/drivers/input/mouse/synaptics_i2c.c
> @@ -521,8 +521,7 @@ static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *clien
>  	return touch;
>  }
>  
> -static int synaptics_i2c_probe(struct i2c_client *client,
> -			       const struct i2c_device_id *dev_id)
> +static int synaptics_i2c_probe(struct i2c_client *client)
>  {
>  	int ret;
>  	struct synaptics_i2c *touch;
> @@ -651,7 +650,7 @@ static struct i2c_driver synaptics_i2c_driver = {
>  		.pm	= &synaptics_i2c_pm,
>  	},
>  
> -	.probe		= synaptics_i2c_probe,
> +	.probe_new	= synaptics_i2c_probe,
>  	.remove		= synaptics_i2c_remove,
>  
>  	.id_table	= synaptics_i2c_id_table,

Reviewed-by: Jean Delvare <jdelvare@suse.de>

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: (subset) [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (82 preceding siblings ...)
  2022-11-22 18:58 ` Jonathan Cameron
@ 2022-12-09 12:00 ` Robert Foss
  2022-12-12 16:36 ` Robert Foss
  84 siblings, 0 replies; 101+ messages in thread
From: Robert Foss @ 2022-12-09 12:00 UTC (permalink / raw)
  To: Uwe Kleine-König, Wolfram Sang, Angel Iglesias,
	Grant Likely, Lee Jones
  Cc: Robert Foss, Broadcom internal kernel review list, linux-gpio,
	linux-rtc, linux-arm-kernel, linux-input, linux-integrity,
	linux-media, openipmi-developer, linux-serial, linux-usb,
	linux-spi, kernel, Purism Kernel Team, linux-rpi-kernel,
	linux-leds, linux-actions, netdev, linux-iio, linux-pwm,
	linux-staging, chrome-platform, linux-crypto, linux-watchdog,
	linux-amlogic, linux-fbdev, linux-renesas-soc, linux-i2c,
	linux-kernel, alsa-devel, linux-stm32, linuxppc-dev, patches,
	linux-omap, linux-mtd, linux-samsung-soc, linux-pm,
	platform-driver-x86, devicetree

On Fri, 18 Nov 2022 23:35:34 +0100, Uwe Kleine-König wrote:
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.
> 
> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> [...]

Applied all patches that build.

Patches excluded:
 - ps8622
 - ti-sn65dsi83
 - adv7511

Repo: https://cgit.freedesktop.org/drm/drm-misc/


[014/606] drm/bridge: adv7511: Convert to i2c's .probe_new()
          (no commit info)
[015/606] drm/bridge/analogix/anx6345: Convert to i2c's .probe_new()
          (no commit info)
[016/606] drm/bridge/analogix/anx78xx: Convert to i2c's .probe_new()
          (no commit info)
[017/606] drm/bridge: anx7625: Convert to i2c's .probe_new()
          (no commit info)
[018/606] drm/bridge: icn6211: Convert to i2c's .probe_new()
          (no commit info)
[019/606] drm/bridge: chrontel-ch7033: Convert to i2c's .probe_new()
          commit: 8dc6de280f01c0f7b8d40435736f3c975368ad70
[020/606] drm/bridge: it6505: Convert to i2c's .probe_new()
          (no commit info)
[021/606] drm/bridge: it66121: Convert to i2c's .probe_new()
          (no commit info)
[022/606] drm/bridge: lt8912b: Convert to i2c's .probe_new()
          (no commit info)
[023/606] drm/bridge: lt9211: Convert to i2c's .probe_new()
          (no commit info)
[024/606] drm/bridge: lt9611: Convert to i2c's .probe_new()
          (no commit info)
[025/606] drm/bridge: lt9611uxc: Convert to i2c's .probe_new()
          (no commit info)
[026/606] drm/bridge: megachips: Convert to i2c's .probe_new()
          (no commit info)
[027/606] drm/bridge: nxp-ptn3460: Convert to i2c's .probe_new()
          (no commit info)
[028/606] drm/bridge: parade-ps8622: Convert to i2c's .probe_new()
          (no commit info)
[029/606] drm/bridge: sii902x: Convert to i2c's .probe_new()
          (no commit info)
[030/606] drm/bridge: sii9234: Convert to i2c's .probe_new()
          (no commit info)
[031/606] drm/bridge: sii8620: Convert to i2c's .probe_new()
          (no commit info)
[032/606] drm/bridge: tc358767: Convert to i2c's .probe_new()
          (no commit info)
[033/606] drm/bridge: tc358768: Convert to i2c's .probe_new()
          (no commit info)
[034/606] drm/bridge/tc358775: Convert to i2c's .probe_new()
          (no commit info)
[035/606] drm/bridge: ti-sn65dsi83: Convert to i2c's .probe_new()
          (no commit info)
[037/606] drm/bridge: tfp410: Convert to i2c's .probe_new()
          (no commit info)



rob


^ permalink raw reply	[flat|nested] 101+ messages in thread

* Re: (subset) [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
  2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
                   ` (83 preceding siblings ...)
  2022-12-09 12:00 ` (subset) " Robert Foss
@ 2022-12-12 16:36 ` Robert Foss
  84 siblings, 0 replies; 101+ messages in thread
From: Robert Foss @ 2022-12-12 16:36 UTC (permalink / raw)
  To: Lee Jones, Uwe Kleine-König, Angel Iglesias, Wolfram Sang,
	Grant Likely
  Cc: Robert Foss, linuxppc-dev, linux-actions, linux-spi, devicetree,
	linux-media, linux-stm32, linux-crypto, chrome-platform,
	Broadcom internal kernel review list, linux-input,
	linux-rpi-kernel, linux-integrity, linux-omap, linux-serial,
	Purism Kernel Team, linux-staging, alsa-devel, linux-watchdog,
	linux-gpio, linux-rtc, linux-leds, linux-iio, linux-kernel,
	linux-usb, linux-pm, platform-driver-x86, patches, linux-mtd,
	linux-renesas-soc, linux-amlogic, linux-pwm, linux-samsung-soc,
	linux-i2c, kernel, netdev, linux-arm-kernel, openipmi-developer,
	linux-fbdev

On Fri, 18 Nov 2022 23:35:34 +0100, Uwe Kleine-König wrote:
> since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type") from 2016 there is a "temporary" alternative probe
> callback for i2c drivers.
> 
> This series completes all drivers to this new callback (unless I missed
> something). It's based on current next/master.
> A part of the patches depend on commit 662233731d66 ("i2c: core:
> Introduce i2c_client_get_device_id helper function"), there is a branch that
> you can pull into your tree to get it:
> 
> [...]

Applied, thanks!

Repo: https://cgit.freedesktop.org/drm/drm-misc/


[014/606] drm/bridge: adv7511: Convert to i2c's .probe_new()
          commit: 1c546894ff82f8b7c070998c03f9b15a3499f326
[028/606] drm/bridge: parade-ps8622: Convert to i2c's .probe_new()
          commit: d6b522e9bbb0cca1aeae4ef6188800534794836f
[035/606] drm/bridge: ti-sn65dsi83: Convert to i2c's .probe_new()
          commit: 0f6548807fa77e87bbc37964c6b1ed9ba6e1155d



rob


^ permalink raw reply	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2022-12-12 16:39 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 191/606] Input: as5011 - Convert to i2c's .probe_new() Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 192/606] Input: adp5588-keys " Uwe Kleine-König
2022-11-21  9:48   ` Hennerich, Michael
2022-12-02 10:52   ` Uwe Kleine-König
2022-12-02 22:58     ` Dmitry Torokhov
2022-11-18 22:38 ` [PATCH 193/606] Input: adp5589-keys " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 194/606] Input: cap11xx " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 195/606] Input: dlink-dir685-touchkeys " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 196/606] Input: lm8323 " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 197/606] Input: lm8333 " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 198/606] Input: max7359_keypad " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 199/606] Input: mcs_touchkey " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 200/606] Input: mpr121_touchkey " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 201/606] Input: qt1070 " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 202/606] Input: qt2160 " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 203/606] Input: tca6416-keypad " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 204/606] Input: tca8418_keypad " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 205/606] Input: tm2-touchkey " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 206/606] Input: ad714x-i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 207/606] Input: adxl34x-i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 208/606] Input: apanel " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 209/606] Input: atmel_captouch " Uwe Kleine-König
2022-12-06 10:49   ` Jean Delvare
2022-11-18 22:39 ` [PATCH 210/606] Input: bma150 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 211/606] Input: cma3000_d0x_i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 212/606] Input: da7280 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 213/606] Input: drv260x " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 214/606] Input: drv2665 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 215/606] Input: drv2667 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 216/606] Input: ibm-panel " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 217/606] Input: kxtj9 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 218/606] Input: mma8450 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 219/606] Input: pcf8574_keypad " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 220/606] Input: cyapa " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 221/606] Input: elan_i2c_core " Uwe Kleine-König
2022-11-19 12:57   ` Hans de Goede
2022-11-18 22:39 ` [PATCH 222/606] Input: synaptics_i2c " Uwe Kleine-König
2022-12-06 10:49   ` Jean Delvare
2022-11-18 22:39 ` [PATCH 223/606] Input: rmi_i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 224/606] Input: rmi_smbus " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 225/606] Input: ad7879-i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 226/606] Input: ar1021_i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 227/606] Input: atmel_mxt_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 228/606] Input: auo-pixcir-ts " Uwe Kleine-König
2022-11-19  8:41   ` Heiko Stübner
2022-11-18 22:39 ` [PATCH 229/606] Input: bu21013_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 230/606] Input: bu21029_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 231/606] Input: chipone_icn8318 " Uwe Kleine-König
2022-11-19 12:57   ` Hans de Goede
2022-11-18 22:39 ` [PATCH 232/606] Input: cy8ctma140 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 233/606] Input: cy8ctmg110_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 234/606] Input: cyttsp4 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 235/606] Input: cyttsp5: " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 236/606] Input: cyttsp_i2c - " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 237/606] Input: edt-ft5x06 " Uwe Kleine-König
2022-11-21  7:42   ` Oliver Graute
2022-11-18 22:39 ` [PATCH 238/606] Input: eeti_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 239/606] Input: egalax_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 240/606] Input: ektf2127 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 241/606] Input: goodix " Uwe Kleine-König
2022-11-19 12:57   ` Hans de Goede
2022-11-18 22:39 ` [PATCH 242/606] Input: hideep " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 243/606] Input: hx83112b: " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 244/606] Input: hycon-hy46xx - " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 245/606] Input: ili210x " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 246/606] Input: ilitek_ts_i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 247/606] Input: iqs5xx " Uwe Kleine-König
2022-11-20 18:41   ` Jeff LaBundy
2022-11-18 22:39 ` [PATCH 248/606] Input: max11801_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 249/606] Input: mcs5000_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 250/606] Input: melfas_mip4 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 251/606] Input: migor_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 252/606] Input: mms114 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 253/606] Input: pixcir_i2c_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 254/606] Input: raydium_i2c_ts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 255/606] Input: rohm_bu21023 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 256/606] Input: s6sy761 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 257/606] Input: silead " Uwe Kleine-König
2022-11-19 12:59   ` Hans de Goede
2022-11-18 22:39 ` [PATCH 258/606] Input: sis_i2c " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 259/606] Input: st1232 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 260/606] Input: stmfts " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 261/606] Input: sx8654 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 262/606] Input: tsc2004 " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 263/606] Input: tsc2007_core " Uwe Kleine-König
2022-11-18 22:39 ` [PATCH 264/606] Input: wacom_i2c " Uwe Kleine-König
2022-11-18 23:27   ` Alistair
2022-11-18 22:39 ` [PATCH 265/606] Input: wdt87xx_i2c " Uwe Kleine-König
2022-11-18 22:40 ` [PATCH 266/606] Input: zet6223 " Uwe Kleine-König
2022-11-18 22:40 ` [PATCH 267/606] Input: zforce_ts " Uwe Kleine-König
2022-11-19  6:50 ` [PATCH 000/606] i2c: Complete conversion to i2c_probe_new patchwork-bot+chrome-platform
2022-11-19  6:50 ` patchwork-bot+chrome-platform
2022-11-19 11:10 ` Wolfram Sang
2022-11-20 19:43 ` Sebastian Reichel
2022-11-21  9:53 ` Lee Jones
2022-11-22 18:58 ` Jonathan Cameron
2022-11-22 20:16   ` Uwe Kleine-König
2022-11-26 15:43     ` Andy Shevchenko
2022-12-09 12:00 ` (subset) " Robert Foss
2022-12-12 16:36 ` Robert Foss

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).