* [PATCH 000/606] i2c: Complete conversion to i2c_probe_new
@ 2022-11-18 22:35 Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 049/606] iio: accel: adxl372_i2c: Convert to i2c's .probe_new() Uwe Kleine-König
` (152 more replies)
0 siblings, 153 replies; 179+ 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] 179+ messages in thread
* [PATCH 049/606] iio: accel: adxl372_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
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 050/606] iio: accel: bma180: " Uwe Kleine-König
` (151 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Michael Hennerich, Lars-Peter Clausen, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/accel/adxl372_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/adxl372_i2c.c b/drivers/iio/accel/adxl372_i2c.c
index 4efb70a5fe40..e5f310ea65ff 100644
--- a/drivers/iio/accel/adxl372_i2c.c
+++ b/drivers/iio/accel/adxl372_i2c.c
@@ -18,9 +18,9 @@ static const struct regmap_config adxl372_regmap_config = {
.readable_noinc_reg = adxl372_readable_noinc_reg,
};
-static int adxl372_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int adxl372_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
unsigned int regval;
int ret;
@@ -58,7 +58,7 @@ static struct i2c_driver adxl372_i2c_driver = {
.name = "adxl372_i2c",
.of_match_table = adxl372_of_match,
},
- .probe = adxl372_i2c_probe,
+ .probe_new = adxl372_i2c_probe,
.id_table = adxl372_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 050/606] iio: accel: bma180: 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:36 ` [PATCH 049/606] iio: accel: adxl372_i2c: Convert to i2c's .probe_new() Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 051/606] iio: accel: bma400: " Uwe Kleine-König
` (150 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Srinivas Pandruvada,
Petr Machata, Antoniu Miclaus, Dmitry Rokosov
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/bma180.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c
index d03fc3400f94..eb697eeb4301 100644
--- a/drivers/iio/accel/bma180.c
+++ b/drivers/iio/accel/bma180.c
@@ -921,9 +921,9 @@ static const struct iio_trigger_ops bma180_trigger_ops = {
.reenable = bma180_trig_reen,
};
-static int bma180_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bma180_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct bma180_data *data;
struct iio_dev *indio_dev;
@@ -1134,7 +1134,7 @@ static struct i2c_driver bma180_driver = {
.pm = pm_sleep_ptr(&bma180_pm_ops),
.of_match_table = bma180_of_match,
},
- .probe = bma180_probe,
+ .probe_new = bma180_probe,
.remove = bma180_remove,
.id_table = bma180_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 051/606] iio: accel: bma400: 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:36 ` [PATCH 049/606] iio: accel: adxl372_i2c: Convert to i2c's .probe_new() Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 050/606] iio: accel: bma180: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 052/606] iio: accel: bmc150: " Uwe Kleine-König
` (149 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Dan Robertson, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/bma400_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/bma400_i2c.c b/drivers/iio/accel/bma400_i2c.c
index 1ba2a982ea73..688b06dae669 100644
--- a/drivers/iio/accel/bma400_i2c.c
+++ b/drivers/iio/accel/bma400_i2c.c
@@ -13,9 +13,9 @@
#include "bma400.h"
-static int bma400_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bma400_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
regmap = devm_regmap_init_i2c(client, &bma400_regmap_config);
@@ -44,7 +44,7 @@ static struct i2c_driver bma400_i2c_driver = {
.name = "bma400",
.of_match_table = bma400_of_i2c_match,
},
- .probe = bma400_i2c_probe,
+ .probe_new = bma400_i2c_probe,
.id_table = bma400_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 052/606] iio: accel: bmc150: 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:36 ` [PATCH 051/606] iio: accel: bma400: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 053/606] iio: accel: da280: " Uwe Kleine-König
` (148 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Srinivas Pandruvada, Dmitry Torokhov,
Corey Minyard
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/bmc150-accel-i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/bmc150-accel-i2c.c b/drivers/iio/accel/bmc150-accel-i2c.c
index be8cc598b88e..509cab2bd694 100644
--- a/drivers/iio/accel/bmc150-accel-i2c.c
+++ b/drivers/iio/accel/bmc150-accel-i2c.c
@@ -171,9 +171,9 @@ static void bmc150_acpi_dual_accel_probe(struct i2c_client *client) {}
static void bmc150_acpi_dual_accel_remove(struct i2c_client *client) {}
#endif
-static int bmc150_accel_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bmc150_accel_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name = NULL;
enum bmc150_type type = BOSCH_UNKNOWN;
@@ -269,7 +269,7 @@ static struct i2c_driver bmc150_accel_driver = {
.acpi_match_table = ACPI_PTR(bmc150_accel_acpi_match),
.pm = &bmc150_accel_pm_ops,
},
- .probe = bmc150_accel_probe,
+ .probe_new = bmc150_accel_probe,
.remove = bmc150_accel_remove,
.id_table = bmc150_accel_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 053/606] iio: accel: da280: 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:36 ` [PATCH 052/606] iio: accel: bmc150: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 054/606] iio: accel: kxcjk-1013: " Uwe Kleine-König
` (147 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/da280.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/da280.c b/drivers/iio/accel/da280.c
index 04e9c5678964..38a7d811610e 100644
--- a/drivers/iio/accel/da280.c
+++ b/drivers/iio/accel/da280.c
@@ -105,9 +105,9 @@ static void da280_disable(void *client)
da280_enable(client, false);
}
-static int da280_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int da280_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret;
struct iio_dev *indio_dev;
struct da280_data *data;
@@ -184,7 +184,7 @@ static struct i2c_driver da280_driver = {
.acpi_match_table = ACPI_PTR(da280_acpi_match),
.pm = pm_sleep_ptr(&da280_pm_ops),
},
- .probe = da280_probe,
+ .probe_new = da280_probe,
.id_table = da280_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 054/606] iio: accel: kxcjk-1013: 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:36 ` [PATCH 053/606] iio: accel: da280: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-19 12:03 ` Andy Shevchenko
2022-11-18 22:36 ` [PATCH 055/606] iio: accel: mma7455_i2c: " Uwe Kleine-König
` (146 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Jean Delvare,
Srinivas Pandruvada, Dmitry Rokosov, Miaoqian Lin, wangjianli
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/kxcjk-1013.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index e626b6fa8a36..98da4bda22df 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -1424,9 +1424,9 @@ static const char *kxcjk1013_match_acpi_device(struct device *dev,
return dev_name(dev);
}
-static int kxcjk1013_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int kxcjk1013_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
static const char * const regulator_names[] = { "vdd", "vddio" };
struct kxcjk1013_data *data;
struct iio_dev *indio_dev;
@@ -1732,7 +1732,7 @@ static struct i2c_driver kxcjk1013_driver = {
.of_match_table = kxcjk1013_of_match,
.pm = &kxcjk1013_pm_ops,
},
- .probe = kxcjk1013_probe,
+ .probe_new = kxcjk1013_probe,
.remove = kxcjk1013_remove,
.id_table = kxcjk1013_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 055/606] iio: accel: mma7455_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
` (5 preceding siblings ...)
2022-11-18 22:36 ` [PATCH 054/606] iio: accel: kxcjk-1013: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 056/606] iio: accel: mma8452: " Uwe Kleine-König
` (145 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Crt Mori, Petr Machata, Maximilian Luz
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/mma7455_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/mma7455_i2c.c b/drivers/iio/accel/mma7455_i2c.c
index c63b321b01cd..a3864dbe2761 100644
--- a/drivers/iio/accel/mma7455_i2c.c
+++ b/drivers/iio/accel/mma7455_i2c.c
@@ -10,9 +10,9 @@
#include "mma7455.h"
-static int mma7455_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int mma7455_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
struct regmap *regmap;
const char *name = NULL;
@@ -46,7 +46,7 @@ static const struct of_device_id mma7455_of_match[] = {
MODULE_DEVICE_TABLE(of, mma7455_of_match);
static struct i2c_driver mma7455_i2c_driver = {
- .probe = mma7455_i2c_probe,
+ .probe_new = mma7455_i2c_probe,
.remove = mma7455_i2c_remove,
.id_table = mma7455_i2c_ids,
.driver = {
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 056/606] iio: accel: mma8452: 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:36 ` [PATCH 055/606] iio: accel: mma7455_i2c: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-19 12:57 ` Hans de Goede
2022-11-18 22:36 ` [PATCH 057/606] iio: accel: mma9551: " Uwe Kleine-König
` (144 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Hans de Goede, Haibo Chen, Martin Kepplinger
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/mma8452.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
index 3ba28c2ff68a..f97fb68e3a71 100644
--- a/drivers/iio/accel/mma8452.c
+++ b/drivers/iio/accel/mma8452.c
@@ -1545,9 +1545,9 @@ static const struct of_device_id mma8452_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, mma8452_dt_ids);
-static int mma8452_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mma8452_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mma8452_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -1846,7 +1846,7 @@ static struct i2c_driver mma8452_driver = {
.of_match_table = mma8452_dt_ids,
.pm = &mma8452_pm_ops,
},
- .probe = mma8452_probe,
+ .probe_new = mma8452_probe,
.remove = mma8452_remove,
.id_table = mma8452_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 057/606] iio: accel: mma9551: 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:36 ` [PATCH 056/606] iio: accel: mma8452: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 058/606] iio: accel: mma9553: " Uwe Kleine-König
` (143 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Marek Behún, Crt Mori,
Miaoqian Lin
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/mma9551.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/mma9551.c b/drivers/iio/accel/mma9551.c
index f7a793f4a8e3..aa4f5842859e 100644
--- a/drivers/iio/accel/mma9551.c
+++ b/drivers/iio/accel/mma9551.c
@@ -446,9 +446,9 @@ static const char *mma9551_match_acpi_device(struct device *dev)
return dev_name(dev);
}
-static int mma9551_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mma9551_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mma9551_data *data;
struct iio_dev *indio_dev;
const char *name = NULL;
@@ -607,7 +607,7 @@ static struct i2c_driver mma9551_driver = {
.acpi_match_table = ACPI_PTR(mma9551_acpi_match),
.pm = pm_ptr(&mma9551_pm_ops),
},
- .probe = mma9551_probe,
+ .probe_new = mma9551_probe,
.remove = mma9551_remove,
.id_table = mma9551_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 058/606] iio: accel: mma9553: 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:36 ` [PATCH 057/606] iio: accel: mma9551: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 059/606] iio: adc: ad7091r5: " Uwe Kleine-König
` (142 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Miaoqian Lin, Benjamin Mugnier,
Antoniu Miclaus
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/accel/mma9553.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/mma9553.c b/drivers/iio/accel/mma9553.c
index 2da0e005b13e..0af578ef9d3d 100644
--- a/drivers/iio/accel/mma9553.c
+++ b/drivers/iio/accel/mma9553.c
@@ -1073,9 +1073,9 @@ static const char *mma9553_match_acpi_device(struct device *dev)
return dev_name(dev);
}
-static int mma9553_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mma9553_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mma9553_data *data;
struct iio_dev *indio_dev;
const char *name = NULL;
@@ -1246,7 +1246,7 @@ static struct i2c_driver mma9553_driver = {
.acpi_match_table = ACPI_PTR(mma9553_acpi_match),
.pm = pm_ptr(&mma9553_pm_ops),
},
- .probe = mma9553_probe,
+ .probe_new = mma9553_probe,
.remove = mma9553_remove,
.id_table = mma9553_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 059/606] iio: adc: ad7091r5: 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:36 ` [PATCH 058/606] iio: accel: mma9553: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 060/606] iio: adc: ad7291: " Uwe Kleine-König
` (141 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/adc/ad7091r5.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ad7091r5.c b/drivers/iio/adc/ad7091r5.c
index 47f5763023a4..7d6709da1005 100644
--- a/drivers/iio/adc/ad7091r5.c
+++ b/drivers/iio/adc/ad7091r5.c
@@ -69,9 +69,9 @@ static const struct ad7091r_chip_info ad7091r5_chip_info_noirq = {
.vref_mV = 2500,
};
-static int ad7091r5_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad7091r5_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
const struct ad7091r_chip_info *chip_info;
struct regmap *map = devm_regmap_init_i2c(i2c, &ad7091r_regmap_config);
@@ -103,7 +103,7 @@ static struct i2c_driver ad7091r5_driver = {
.name = "ad7091r5",
.of_match_table = ad7091r5_dt_ids,
},
- .probe = ad7091r5_i2c_probe,
+ .probe_new = ad7091r5_i2c_probe,
.id_table = ad7091r5_i2c_ids,
};
module_i2c_driver(ad7091r5_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 060/606] iio: adc: ad7291: 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:36 ` [PATCH 059/606] iio: adc: ad7091r5: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 061/606] iio: adc: ad799x: " Uwe Kleine-König
` (140 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/adc/ad7291.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ad7291.c b/drivers/iio/adc/ad7291.c
index e9129dac762f..3dd0105f63d7 100644
--- a/drivers/iio/adc/ad7291.c
+++ b/drivers/iio/adc/ad7291.c
@@ -465,9 +465,9 @@ static void ad7291_reg_disable(void *reg)
regulator_disable(reg);
}
-static int ad7291_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad7291_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ad7291_chip_info *chip;
struct iio_dev *indio_dev;
int ret;
@@ -553,7 +553,7 @@ static struct i2c_driver ad7291_driver = {
.name = KBUILD_MODNAME,
.of_match_table = ad7291_of_match,
},
- .probe = ad7291_probe,
+ .probe_new = ad7291_probe,
.id_table = ad7291_id,
};
module_i2c_driver(ad7291_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 061/606] iio: adc: ad799x: 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:36 ` [PATCH 060/606] iio: adc: ad7291: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 062/606] iio: adc: ina2xx-adc: " Uwe Kleine-König
` (139 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/adc/ad799x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index 4730d8d0f4c3..8f0a3a35e727 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -775,9 +775,9 @@ static const struct ad799x_chip_info ad799x_chip_info_tbl[] = {
},
};
-static int ad799x_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad799x_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret;
int extra_config = 0;
struct ad799x_state *st;
@@ -968,7 +968,7 @@ static struct i2c_driver ad799x_driver = {
.name = "ad799x",
.pm = pm_sleep_ptr(&ad799x_pm_ops),
},
- .probe = ad799x_probe,
+ .probe_new = ad799x_probe,
.remove = ad799x_remove,
.id_table = ad799x_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 062/606] iio: adc: ina2xx-adc: 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:36 ` [PATCH 061/606] iio: adc: ad799x: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 063/606] iio: adc: ltc2471: " Uwe Kleine-König
` (138 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Dmitry Torokhov, Miquel Raynal
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/ina2xx-adc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ina2xx-adc.c b/drivers/iio/adc/ina2xx-adc.c
index 910e7e965fc4..38d9d7b2313e 100644
--- a/drivers/iio/adc/ina2xx-adc.c
+++ b/drivers/iio/adc/ina2xx-adc.c
@@ -946,9 +946,9 @@ static int ina2xx_init(struct ina2xx_chip_info *chip, unsigned int config)
return ina2xx_set_calibration(chip);
}
-static int ina2xx_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ina2xx_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ina2xx_chip_info *chip;
struct iio_dev *indio_dev;
unsigned int val;
@@ -1090,7 +1090,7 @@ static struct i2c_driver ina2xx_driver = {
.name = KBUILD_MODNAME,
.of_match_table = ina2xx_of_match,
},
- .probe = ina2xx_probe,
+ .probe_new = ina2xx_probe,
.remove = ina2xx_remove,
.id_table = ina2xx_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 063/606] iio: adc: ltc2471: 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:36 ` [PATCH 062/606] iio: adc: ina2xx-adc: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 064/606] iio: adc: ltc2485: " Uwe Kleine-König
` (137 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/ltc2471.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ltc2471.c b/drivers/iio/adc/ltc2471.c
index 0e0fe881a8e6..eeb2945829eb 100644
--- a/drivers/iio/adc/ltc2471.c
+++ b/drivers/iio/adc/ltc2471.c
@@ -99,9 +99,9 @@ static const struct iio_info ltc2471_info = {
.read_raw = ltc2471_read_raw,
};
-static int ltc2471_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ltc2471_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct ltc2471_data *data;
int ret;
@@ -146,7 +146,7 @@ static struct i2c_driver ltc2471_i2c_driver = {
.driver = {
.name = "ltc2471",
},
- .probe = ltc2471_i2c_probe,
+ .probe_new = ltc2471_i2c_probe,
.id_table = ltc2471_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 064/606] iio: adc: ltc2485: 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:36 ` [PATCH 063/606] iio: adc: ltc2471: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 065/606] iio: adc: ltc2497: " Uwe Kleine-König
` (136 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/ltc2485.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ltc2485.c b/drivers/iio/adc/ltc2485.c
index 37c762f8218c..6a23427344ec 100644
--- a/drivers/iio/adc/ltc2485.c
+++ b/drivers/iio/adc/ltc2485.c
@@ -89,9 +89,9 @@ static const struct iio_info ltc2485_info = {
.read_raw = ltc2485_read_raw,
};
-static int ltc2485_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ltc2485_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct ltc2485_data *data;
int ret;
@@ -133,7 +133,7 @@ static struct i2c_driver ltc2485_driver = {
.driver = {
.name = "ltc2485",
},
- .probe = ltc2485_probe,
+ .probe_new = ltc2485_probe,
.id_table = ltc2485_id,
};
module_i2c_driver(ltc2485_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 065/606] iio: adc: ltc2497: 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:36 ` [PATCH 064/606] iio: adc: ltc2485: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 066/606] iio: adc: max1363: " Uwe Kleine-König
` (135 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/adc/ltc2497.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ltc2497.c b/drivers/iio/adc/ltc2497.c
index 556f10dfb502..17370c5eb6fe 100644
--- a/drivers/iio/adc/ltc2497.c
+++ b/drivers/iio/adc/ltc2497.c
@@ -94,9 +94,9 @@ static int ltc2497_result_and_measure(struct ltc2497core_driverdata *ddata,
return ret;
}
-static int ltc2497_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ltc2497_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const struct ltc2497_chip_info *chip_info;
struct iio_dev *indio_dev;
struct ltc2497_driverdata *st;
@@ -165,7 +165,7 @@ static struct i2c_driver ltc2497_driver = {
.name = "ltc2497",
.of_match_table = ltc2497_of_match,
},
- .probe = ltc2497_probe,
+ .probe_new = ltc2497_probe,
.remove = ltc2497_remove,
.id_table = ltc2497_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 066/606] iio: adc: max1363: 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:36 ` [PATCH 065/606] iio: adc: ltc2497: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 067/606] iio: adc: max9611: " Uwe Kleine-König
` (134 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Nuno Sá, Matti Vaittinen
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/max1363.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index 42d3479cefb7..73b783b430d7 100644
--- a/drivers/iio/adc/max1363.c
+++ b/drivers/iio/adc/max1363.c
@@ -1579,9 +1579,9 @@ static void max1363_reg_disable(void *reg)
regulator_disable(reg);
}
-static int max1363_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max1363_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret;
struct max1363_state *st;
struct iio_dev *indio_dev;
@@ -1718,7 +1718,7 @@ static struct i2c_driver max1363_driver = {
.name = "max1363",
.of_match_table = max1363_of_match,
},
- .probe = max1363_probe,
+ .probe_new = max1363_probe,
.id_table = max1363_id,
};
module_i2c_driver(max1363_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 067/606] iio: adc: max9611: 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:36 ` [PATCH 066/606] iio: adc: max1363: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-21 13:01 ` Jacopo Mondi
2022-11-18 22:36 ` [PATCH 068/606] iio: adc: mcp3422: " Uwe Kleine-König
` (133 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jacopo Mondi, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/max9611.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/max9611.c b/drivers/iio/adc/max9611.c
index f982f00303dc..cb7f4785423a 100644
--- a/drivers/iio/adc/max9611.c
+++ b/drivers/iio/adc/max9611.c
@@ -510,8 +510,7 @@ static const struct of_device_id max9611_of_table[] = {
};
MODULE_DEVICE_TABLE(of, max9611_of_table);
-static int max9611_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max9611_probe(struct i2c_client *client)
{
const char * const shunt_res_prop = "shunt-resistor-micro-ohms";
struct max9611_dev *max9611;
@@ -557,7 +556,7 @@ static struct i2c_driver max9611_driver = {
.name = DRIVER_NAME,
.of_match_table = max9611_of_table,
},
- .probe = max9611_probe,
+ .probe_new = max9611_probe,
};
module_i2c_driver(max9611_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 068/606] iio: adc: mcp3422: 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:36 ` [PATCH 067/606] iio: adc: max9611: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 069/606] iio: adc: ti-adc081c: " Uwe Kleine-König
` (132 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/mcp3422.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
index da353dcb1e9d..ada844c3f7ec 100644
--- a/drivers/iio/adc/mcp3422.c
+++ b/drivers/iio/adc/mcp3422.c
@@ -330,9 +330,9 @@ static const struct iio_info mcp3422_info = {
.attrs = &mcp3422_attribute_group,
};
-static int mcp3422_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mcp3422_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct mcp3422 *adc;
int err;
@@ -417,7 +417,7 @@ static struct i2c_driver mcp3422_driver = {
.name = "mcp3422",
.of_match_table = mcp3422_of_match,
},
- .probe = mcp3422_probe,
+ .probe_new = mcp3422_probe,
.id_table = mcp3422_id,
};
module_i2c_driver(mcp3422_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 069/606] iio: adc: ti-adc081c: 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:36 ` [PATCH 068/606] iio: adc: mcp3422: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 070/606] iio: adc: ti-ads1015: " Uwe Kleine-König
` (131 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/ti-adc081c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ti-adc081c.c b/drivers/iio/adc/ti-adc081c.c
index bd48b073e720..c663dc59d459 100644
--- a/drivers/iio/adc/ti-adc081c.c
+++ b/drivers/iio/adc/ti-adc081c.c
@@ -152,9 +152,9 @@ static void adc081c_reg_disable(void *reg)
regulator_disable(reg);
}
-static int adc081c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int adc081c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *iio;
struct adc081c *adc;
const struct adcxx1c_model *model;
@@ -235,7 +235,7 @@ static struct i2c_driver adc081c_driver = {
.of_match_table = adc081c_of_match,
.acpi_match_table = adc081c_acpi_match,
},
- .probe = adc081c_probe,
+ .probe_new = adc081c_probe,
.id_table = adc081c_id,
};
module_i2c_driver(adc081c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 070/606] iio: adc: ti-ads1015: 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:36 ` [PATCH 069/606] iio: adc: ti-adc081c: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 071/606] iio: cdc: ad7150: " Uwe Kleine-König
` (130 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Marek Vasut, Corey Minyard
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/adc/ti-ads1015.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c
index 8bceba694026..56af5e148802 100644
--- a/drivers/iio/adc/ti-ads1015.c
+++ b/drivers/iio/adc/ti-ads1015.c
@@ -974,9 +974,9 @@ static int ads1015_set_conv_mode(struct ads1015_data *data, int mode)
mode << ADS1015_CFG_MOD_SHIFT);
}
-static int ads1015_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ads1015_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const struct ads1015_chip_data *chip;
struct iio_dev *indio_dev;
struct ads1015_data *data;
@@ -1195,7 +1195,7 @@ static struct i2c_driver ads1015_driver = {
.of_match_table = ads1015_of_match,
.pm = &ads1015_pm_ops,
},
- .probe = ads1015_probe,
+ .probe_new = ads1015_probe,
.remove = ads1015_remove,
.id_table = ads1015_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 071/606] iio: cdc: ad7150: 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:36 ` [PATCH 070/606] iio: adc: ti-ads1015: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 072/606] iio: cdc: ad7746: " Uwe Kleine-König
` (129 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/cdc/ad7150.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/cdc/ad7150.c b/drivers/iio/cdc/ad7150.c
index 1113745890ca..79aeb0aaea67 100644
--- a/drivers/iio/cdc/ad7150.c
+++ b/drivers/iio/cdc/ad7150.c
@@ -536,9 +536,9 @@ static const struct iio_info ad7150_info_no_irq = {
.read_raw = &ad7150_read_raw,
};
-static int ad7150_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad7150_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ad7150_chip_info *chip;
struct iio_dev *indio_dev;
int ret;
@@ -647,7 +647,7 @@ static struct i2c_driver ad7150_driver = {
.name = "ad7150",
.of_match_table = ad7150_of_match,
},
- .probe = ad7150_probe,
+ .probe_new = ad7150_probe,
.id_table = ad7150_id,
};
module_i2c_driver(ad7150_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 072/606] iio: cdc: ad7746: 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:36 ` [PATCH 071/606] iio: cdc: ad7150: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 073/606] iio: chemical: ams-iaq-core: " Uwe Kleine-König
` (128 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/cdc/ad7746.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/cdc/ad7746.c b/drivers/iio/cdc/ad7746.c
index b266f5328140..6f68651ce1d5 100644
--- a/drivers/iio/cdc/ad7746.c
+++ b/drivers/iio/cdc/ad7746.c
@@ -717,9 +717,9 @@ static const struct iio_info ad7746_info = {
.write_raw = ad7746_write_raw,
};
-static int ad7746_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad7746_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct ad7746_chip_info *chip;
struct iio_dev *indio_dev;
@@ -810,7 +810,7 @@ static struct i2c_driver ad7746_driver = {
.name = KBUILD_MODNAME,
.of_match_table = ad7746_of_match,
},
- .probe = ad7746_probe,
+ .probe_new = ad7746_probe,
.id_table = ad7746_id,
};
module_i2c_driver(ad7746_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 073/606] iio: chemical: ams-iaq-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
` (23 preceding siblings ...)
2022-11-18 22:36 ` [PATCH 072/606] iio: cdc: ad7746: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 074/606] iio: chemical: atlas-ezo-sensor: " Uwe Kleine-König
` (127 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/ams-iaq-core.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/ams-iaq-core.c b/drivers/iio/chemical/ams-iaq-core.c
index 97be3669c554..0a0fbcdd4469 100644
--- a/drivers/iio/chemical/ams-iaq-core.c
+++ b/drivers/iio/chemical/ams-iaq-core.c
@@ -135,8 +135,7 @@ static const struct iio_info ams_iaqcore_info = {
.read_raw = ams_iaqcore_read_raw,
};
-static int ams_iaqcore_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ams_iaqcore_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct ams_iaqcore_data *data;
@@ -180,7 +179,7 @@ static struct i2c_driver ams_iaqcore_driver = {
.name = "ams-iaq-core",
.of_match_table = ams_iaqcore_dt_ids,
},
- .probe = ams_iaqcore_probe,
+ .probe_new = ams_iaqcore_probe,
.id_table = ams_iaqcore_id,
};
module_i2c_driver(ams_iaqcore_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 074/606] iio: chemical: atlas-ezo-sensor: 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:36 ` [PATCH 073/606] iio: chemical: ams-iaq-core: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 075/606] iio: chemical: atlas-sensor: " Uwe Kleine-König
` (126 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/atlas-ezo-sensor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/atlas-ezo-sensor.c b/drivers/iio/chemical/atlas-ezo-sensor.c
index bbcf5a59c1f4..307c3488f4bd 100644
--- a/drivers/iio/chemical/atlas-ezo-sensor.c
+++ b/drivers/iio/chemical/atlas-ezo-sensor.c
@@ -201,9 +201,9 @@ static const struct of_device_id atlas_ezo_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, atlas_ezo_dt_ids);
-static int atlas_ezo_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int atlas_ezo_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const struct atlas_ezo_device *chip;
struct atlas_ezo_data *data;
struct iio_dev *indio_dev;
@@ -238,7 +238,7 @@ static struct i2c_driver atlas_ezo_driver = {
.name = ATLAS_EZO_DRV_NAME,
.of_match_table = atlas_ezo_dt_ids,
},
- .probe = atlas_ezo_probe,
+ .probe_new = atlas_ezo_probe,
.id_table = atlas_ezo_id,
};
module_i2c_driver(atlas_ezo_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 075/606] iio: chemical: atlas-sensor: 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:36 ` [PATCH 074/606] iio: chemical: atlas-ezo-sensor: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 076/606] iio: chemical: bme680_i2c: " Uwe Kleine-König
` (125 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Gwendal Grignou, Peter Senna Tschudin,
Heikki Krogerus
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/atlas-sensor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/atlas-sensor.c b/drivers/iio/chemical/atlas-sensor.c
index 7cac77a931c7..024657bc59e1 100644
--- a/drivers/iio/chemical/atlas-sensor.c
+++ b/drivers/iio/chemical/atlas-sensor.c
@@ -608,9 +608,9 @@ static const struct of_device_id atlas_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, atlas_dt_ids);
-static int atlas_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int atlas_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct atlas_data *data;
struct atlas_device *chip;
struct iio_trigger *trig;
@@ -767,7 +767,7 @@ static struct i2c_driver atlas_driver = {
.of_match_table = atlas_dt_ids,
.pm = pm_ptr(&atlas_pm_ops),
},
- .probe = atlas_probe,
+ .probe_new = atlas_probe,
.remove = atlas_remove,
.id_table = atlas_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 076/606] iio: chemical: bme680_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
` (26 preceding siblings ...)
2022-11-18 22:36 ` [PATCH 075/606] iio: chemical: atlas-sensor: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 077/606] iio: chemical: ccs811: " Uwe Kleine-König
` (124 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/bme680_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/bme680_i2c.c b/drivers/iio/chemical/bme680_i2c.c
index 20f2c20b6b02..61b12079858d 100644
--- a/drivers/iio/chemical/bme680_i2c.c
+++ b/drivers/iio/chemical/bme680_i2c.c
@@ -17,9 +17,9 @@
#include "bme680.h"
-static int bme680_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bme680_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name = NULL;
@@ -52,7 +52,7 @@ static struct i2c_driver bme680_i2c_driver = {
.name = "bme680_i2c",
.of_match_table = bme680_of_i2c_match,
},
- .probe = bme680_i2c_probe,
+ .probe_new = bme680_i2c_probe,
.id_table = bme680_i2c_id,
};
module_i2c_driver(bme680_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 077/606] iio: chemical: ccs811: 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:36 ` [PATCH 076/606] iio: chemical: bme680_i2c: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 078/606] iio: chemical: scd4x: " Uwe Kleine-König
` (123 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Marek Behún,
Luca Ceresoli, Dmitry Rokosov
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/ccs811.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/ccs811.c b/drivers/iio/chemical/ccs811.c
index ba4045e20303..6ead80c08924 100644
--- a/drivers/iio/chemical/ccs811.c
+++ b/drivers/iio/chemical/ccs811.c
@@ -401,9 +401,9 @@ static int ccs811_reset(struct i2c_client *client)
return 0;
}
-static int ccs811_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ccs811_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct ccs811_data *data;
int ret;
@@ -567,7 +567,7 @@ static struct i2c_driver ccs811_driver = {
.name = "ccs811",
.of_match_table = ccs811_dt_ids,
},
- .probe = ccs811_probe,
+ .probe_new = ccs811_probe,
.remove = ccs811_remove,
.id_table = ccs811_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 078/606] iio: chemical: scd4x: 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:36 ` [PATCH 077/606] iio: chemical: ccs811: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 079/606] iio: chemical: sgp30: " Uwe Kleine-König
` (122 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Roan van Dijk, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/scd4x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/chemical/scd4x.c b/drivers/iio/chemical/scd4x.c
index 54066532ea45..f7ed9455b3c8 100644
--- a/drivers/iio/chemical/scd4x.c
+++ b/drivers/iio/chemical/scd4x.c
@@ -615,7 +615,7 @@ static irqreturn_t scd4x_trigger_handler(int irq, void *p)
return IRQ_HANDLED;
}
-static int scd4x_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int scd4x_probe(struct i2c_client *client)
{
static const unsigned long scd4x_scan_masks[] = { 0x07, 0x00 };
struct device *dev = &client->dev;
@@ -690,7 +690,7 @@ static struct i2c_driver scd4x_i2c_driver = {
.of_match_table = scd4x_dt_ids,
.pm = pm_sleep_ptr(&scd4x_pm_ops),
},
- .probe = scd4x_probe,
+ .probe_new = scd4x_probe,
};
module_i2c_driver(scd4x_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 079/606] iio: chemical: sgp30: 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:36 ` [PATCH 078/606] iio: chemical: scd4x: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 080/606] iio: chemical: sgp40: " Uwe Kleine-König
` (121 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Corey Minyard, Adrien Grassein, Miguel Ojeda,
Hans Verkuil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/sgp30.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c
index e2c13c78c7e0..9d0c68485b63 100644
--- a/drivers/iio/chemical/sgp30.c
+++ b/drivers/iio/chemical/sgp30.c
@@ -496,9 +496,9 @@ static const struct of_device_id sgp_dt_ids[] = {
{ }
};
-static int sgp_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int sgp_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
struct sgp_data *data;
@@ -575,7 +575,7 @@ static struct i2c_driver sgp_driver = {
.name = "sgp30",
.of_match_table = sgp_dt_ids,
},
- .probe = sgp_probe,
+ .probe_new = sgp_probe,
.remove = sgp_remove,
.id_table = sgp_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 080/606] iio: chemical: sgp40: 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:36 ` [PATCH 079/606] iio: chemical: sgp30: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 081/606] iio: chemical: vz89x: " Uwe Kleine-König
` (120 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Andreas Klinger, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/sgp40.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/sgp40.c b/drivers/iio/chemical/sgp40.c
index 8a56394cea4e..c0ea01300908 100644
--- a/drivers/iio/chemical/sgp40.c
+++ b/drivers/iio/chemical/sgp40.c
@@ -311,9 +311,9 @@ static const struct iio_info sgp40_info = {
.write_raw = sgp40_write_raw,
};
-static int sgp40_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int sgp40_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
struct sgp40_data *data;
@@ -368,7 +368,7 @@ static struct i2c_driver sgp40_driver = {
.name = "sgp40",
.of_match_table = sgp40_dt_ids,
},
- .probe = sgp40_probe,
+ .probe_new = sgp40_probe,
.id_table = sgp40_id,
};
module_i2c_driver(sgp40_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 081/606] iio: chemical: vz89x: 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:36 ` [PATCH 080/606] iio: chemical: sgp40: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 082/606] iio: dac: ad5064: " Uwe Kleine-König
` (119 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/chemical/vz89x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/vz89x.c b/drivers/iio/chemical/vz89x.c
index e7e1c74a351e..d4604f7ccd1e 100644
--- a/drivers/iio/chemical/vz89x.c
+++ b/drivers/iio/chemical/vz89x.c
@@ -348,9 +348,9 @@ static const struct of_device_id vz89x_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, vz89x_dt_ids);
-static int vz89x_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int vz89x_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
struct vz89x_data *data;
@@ -402,7 +402,7 @@ static struct i2c_driver vz89x_driver = {
.name = "vz89x",
.of_match_table = vz89x_dt_ids,
},
- .probe = vz89x_probe,
+ .probe_new = vz89x_probe,
.id_table = vz89x_id,
};
module_i2c_driver(vz89x_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 082/606] iio: dac: ad5064: 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:36 ` [PATCH 081/606] iio: chemical: vz89x: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 083/606] iio: dac: ad5380: " Uwe Kleine-König
` (118 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/dac/ad5064.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
index 4447b8811827..f01249c1ba93 100644
--- a/drivers/iio/dac/ad5064.c
+++ b/drivers/iio/dac/ad5064.c
@@ -993,9 +993,9 @@ static int ad5064_i2c_write(struct ad5064_state *st, unsigned int cmd,
return 0;
}
-static int ad5064_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad5064_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
return ad5064_probe(&i2c->dev, id->driver_data, id->name,
ad5064_i2c_write);
}
@@ -1056,7 +1056,7 @@ static struct i2c_driver ad5064_i2c_driver = {
.driver = {
.name = "ad5064",
},
- .probe = ad5064_i2c_probe,
+ .probe_new = ad5064_i2c_probe,
.id_table = ad5064_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 083/606] iio: dac: ad5380: 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:36 ` [PATCH 082/606] iio: dac: ad5064: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 084/606] iio: dac: ad5446: " Uwe Kleine-König
` (117 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/dac/ad5380.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
index a81bfa47a221..64b4519f8f5e 100644
--- a/drivers/iio/dac/ad5380.c
+++ b/drivers/iio/dac/ad5380.c
@@ -546,9 +546,9 @@ static inline void ad5380_spi_unregister_driver(void)
#if IS_ENABLED(CONFIG_I2C)
-static int ad5380_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad5380_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
struct regmap *regmap;
regmap = devm_regmap_init_i2c(i2c, &ad5380_regmap_config);
@@ -589,7 +589,7 @@ static struct i2c_driver ad5380_i2c_driver = {
.driver = {
.name = "ad5380",
},
- .probe = ad5380_i2c_probe,
+ .probe_new = ad5380_i2c_probe,
.remove = ad5380_i2c_remove,
.id_table = ad5380_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 084/606] iio: dac: ad5446: 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:36 ` [PATCH 083/606] iio: dac: ad5380: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 085/606] iio: dac: ad5593r: " Uwe Kleine-König
` (116 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/dac/ad5446.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
index 7324065d3782..aa3130b33456 100644
--- a/drivers/iio/dac/ad5446.c
+++ b/drivers/iio/dac/ad5446.c
@@ -568,9 +568,9 @@ static const struct ad5446_chip_info ad5446_i2c_chip_info[] = {
},
};
-static int ad5446_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad5446_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
return ad5446_probe(&i2c->dev, id->name,
&ad5446_i2c_chip_info[id->driver_data]);
}
@@ -595,7 +595,7 @@ static struct i2c_driver ad5446_i2c_driver = {
.driver = {
.name = "ad5446",
},
- .probe = ad5446_i2c_probe,
+ .probe_new = ad5446_i2c_probe,
.remove = ad5446_i2c_remove,
.id_table = ad5446_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 085/606] iio: dac: ad5593r: 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:36 ` [PATCH 084/606] iio: dac: ad5446: " Uwe Kleine-König
@ 2022-11-18 22:36 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 086/606] iio: dac: ad5696-i2c: " Uwe Kleine-König
` (115 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:36 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/dac/ad5593r.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5593r.c b/drivers/iio/dac/ad5593r.c
index 8e5e014e0c28..d311567ab324 100644
--- a/drivers/iio/dac/ad5593r.c
+++ b/drivers/iio/dac/ad5593r.c
@@ -99,9 +99,9 @@ static const struct ad5592r_rw_ops ad5593r_rw_ops = {
.gpio_read = ad5593r_gpio_read,
};
-static int ad5593r_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad5593r_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
if (!i2c_check_functionality(i2c->adapter,
I2C_FUNC_SMBUS_BYTE | I2C_FUNC_I2C))
return -EOPNOTSUPP;
@@ -138,7 +138,7 @@ static struct i2c_driver ad5593r_driver = {
.of_match_table = ad5593r_of_match,
.acpi_match_table = ad5593r_acpi_match,
},
- .probe = ad5593r_i2c_probe,
+ .probe_new = ad5593r_i2c_probe,
.remove = ad5593r_i2c_remove,
.id_table = ad5593r_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 086/606] iio: dac: ad5696-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
` (36 preceding siblings ...)
2022-11-18 22:36 ` [PATCH 085/606] iio: dac: ad5593r: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 087/606] iio: dac: ds4424: " Uwe Kleine-König
` (114 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/dac/ad5696-i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c
index aa36cbf0137c..160e80cf9135 100644
--- a/drivers/iio/dac/ad5696-i2c.c
+++ b/drivers/iio/dac/ad5696-i2c.c
@@ -58,9 +58,9 @@ static int ad5686_i2c_write(struct ad5686_state *st,
return (ret != 3) ? -EIO : 0;
}
-static int ad5686_i2c_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ad5686_i2c_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
return ad5686_probe(&i2c->dev, id->driver_data, id->name,
ad5686_i2c_write, ad5686_i2c_read);
}
@@ -113,7 +113,7 @@ static struct i2c_driver ad5686_i2c_driver = {
.name = "ad5696",
.of_match_table = ad5686_of_match,
},
- .probe = ad5686_i2c_probe,
+ .probe_new = ad5686_i2c_probe,
.remove = ad5686_i2c_remove,
.id_table = ad5686_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 087/606] iio: dac: ds4424: 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:37 ` [PATCH 086/606] iio: dac: ad5696-i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 088/606] iio: dac: m62332: " Uwe Kleine-König
` (113 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Maximilian Luz, Peter Rosin, Hans Verkuil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/ds4424.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ds4424.c b/drivers/iio/dac/ds4424.c
index 3e17a681174e..a16a6a934d9d 100644
--- a/drivers/iio/dac/ds4424.c
+++ b/drivers/iio/dac/ds4424.c
@@ -213,9 +213,9 @@ static const struct iio_info ds4424_info = {
.write_raw = ds4424_write_raw,
};
-static int ds4424_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ds4424_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ds4424_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -312,7 +312,7 @@ static struct i2c_driver ds4424_driver = {
.of_match_table = ds4424_of_match,
.pm = pm_sleep_ptr(&ds4424_pm_ops),
},
- .probe = ds4424_probe,
+ .probe_new = ds4424_probe,
.remove = ds4424_remove,
.id_table = ds4424_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 088/606] iio: dac: m62332: 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:37 ` [PATCH 087/606] iio: dac: ds4424: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 089/606] iio: dac: max517: " Uwe Kleine-König
` (112 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Hans Verkuil, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/m62332.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/m62332.c b/drivers/iio/dac/m62332.c
index 5a812f87970c..b692459b0f23 100644
--- a/drivers/iio/dac/m62332.c
+++ b/drivers/iio/dac/m62332.c
@@ -176,8 +176,7 @@ static const struct iio_chan_spec m62332_channels[M62332_CHANNELS] = {
M62332_CHANNEL(1)
};
-static int m62332_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int m62332_probe(struct i2c_client *client)
{
struct m62332_data *data;
struct iio_dev *indio_dev;
@@ -239,7 +238,7 @@ static struct i2c_driver m62332_driver = {
.name = "m62332",
.pm = pm_sleep_ptr(&m62332_pm_ops),
},
- .probe = m62332_probe,
+ .probe_new = m62332_probe,
.remove = m62332_remove,
.id_table = m62332_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 089/606] iio: dac: max517: 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:37 ` [PATCH 088/606] iio: dac: m62332: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 090/606] iio: dac: max5821: " Uwe Kleine-König
` (111 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/max517.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c
index 373ce6ff83b7..25967c39365d 100644
--- a/drivers/iio/dac/max517.c
+++ b/drivers/iio/dac/max517.c
@@ -141,9 +141,9 @@ static const struct iio_chan_spec max517_channels[] = {
MAX517_CHANNEL(7),
};
-static int max517_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max517_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct max517_data *data;
struct iio_dev *indio_dev;
struct max517_platform_data *platform_data = client->dev.platform_data;
@@ -203,7 +203,7 @@ static struct i2c_driver max517_driver = {
.name = MAX517_DRV_NAME,
.pm = pm_sleep_ptr(&max517_pm_ops),
},
- .probe = max517_probe,
+ .probe_new = max517_probe,
.id_table = max517_id,
};
module_i2c_driver(max517_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 090/606] iio: dac: max5821: 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:37 ` [PATCH 089/606] iio: dac: max517: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 091/606] iio: dac: mcp4725: " Uwe Kleine-König
` (110 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Paul Cercueil, Antoniu Miclaus
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/max5821.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c
index e001b594d5b1..23da345b9250 100644
--- a/drivers/iio/dac/max5821.c
+++ b/drivers/iio/dac/max5821.c
@@ -300,9 +300,9 @@ static void max5821_regulator_disable(void *reg)
regulator_disable(reg);
}
-static int max5821_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max5821_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct max5821_data *data;
struct iio_dev *indio_dev;
u32 tmp;
@@ -377,7 +377,7 @@ static struct i2c_driver max5821_driver = {
.of_match_table = max5821_of_match,
.pm = pm_sleep_ptr(&max5821_pm_ops),
},
- .probe = max5821_probe,
+ .probe_new = max5821_probe,
.id_table = max5821_id,
};
module_i2c_driver(max5821_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 091/606] iio: dac: mcp4725: 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:37 ` [PATCH 090/606] iio: dac: max5821: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 092/606] iio: dac: ti-dac5571: " Uwe Kleine-König
` (109 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Jean Delvare, Hans Verkuil,
Antoniu Miclaus
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/mcp4725.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c
index 446d1a8fe4be..46bf758760f8 100644
--- a/drivers/iio/dac/mcp4725.c
+++ b/drivers/iio/dac/mcp4725.c
@@ -369,9 +369,9 @@ static int mcp4725_probe_dt(struct device *dev,
return 0;
}
-static int mcp4725_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mcp4725_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mcp4725_data *data;
struct iio_dev *indio_dev;
struct mcp4725_platform_data *pdata, pdata_dt;
@@ -524,7 +524,7 @@ static struct i2c_driver mcp4725_driver = {
.of_match_table = mcp4725_of_match,
.pm = pm_sleep_ptr(&mcp4725_pm_ops),
},
- .probe = mcp4725_probe,
+ .probe_new = mcp4725_probe,
.remove = mcp4725_remove,
.id_table = mcp4725_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 092/606] iio: dac: ti-dac5571: 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:37 ` [PATCH 091/606] iio: dac: mcp4725: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-19 17:42 ` Laurent Pinchart
2022-11-18 22:37 ` [PATCH 093/606] iio: gyro: bmg160_i2c: " Uwe Kleine-König
` (108 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Laurent Pinchart, Peter Rosin, Andy Shevchenko,
Antoniu Miclaus, Jose Cazarin
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/dac/ti-dac5571.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c
index 3210e3098f9a..40191947fea3 100644
--- a/drivers/iio/dac/ti-dac5571.c
+++ b/drivers/iio/dac/ti-dac5571.c
@@ -306,9 +306,9 @@ static const struct iio_info dac5571_info = {
.write_raw_get_fmt = dac5571_write_raw_get_fmt,
};
-static int dac5571_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int dac5571_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
const struct dac5571_spec *spec;
struct dac5571_data *data;
@@ -426,7 +426,7 @@ static struct i2c_driver dac5571_driver = {
.name = "ti-dac5571",
.of_match_table = dac5571_of_id,
},
- .probe = dac5571_probe,
+ .probe_new = dac5571_probe,
.remove = dac5571_remove,
.id_table = dac5571_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 093/606] iio: gyro: bmg160_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
` (43 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 092/606] iio: dac: ti-dac5571: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 094/606] iio: gyro: itg3200_core: " Uwe Kleine-König
` (107 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Srinivas Pandruvada, Jeremy Kerr,
Adrien Grassein
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/gyro/bmg160_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/gyro/bmg160_i2c.c b/drivers/iio/gyro/bmg160_i2c.c
index 908ccc385254..2b019ee5b2eb 100644
--- a/drivers/iio/gyro/bmg160_i2c.c
+++ b/drivers/iio/gyro/bmg160_i2c.c
@@ -13,9 +13,9 @@ static const struct regmap_config bmg160_regmap_i2c_conf = {
.max_register = 0x3f
};
-static int bmg160_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bmg160_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name = NULL;
@@ -70,7 +70,7 @@ static struct i2c_driver bmg160_i2c_driver = {
.of_match_table = bmg160_of_match,
.pm = &bmg160_pm_ops,
},
- .probe = bmg160_i2c_probe,
+ .probe_new = bmg160_i2c_probe,
.remove = bmg160_i2c_remove,
.id_table = bmg160_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 094/606] iio: gyro: itg3200_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
` (44 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 093/606] iio: gyro: bmg160_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 095/606] iio: gyro: mpu3050-i2c: " Uwe Kleine-König
` (106 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Srinivas Pandruvada, Corey Minyard,
Nuno Sá
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/gyro/itg3200_core.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
index 74ca22468496..ceacd863d3ea 100644
--- a/drivers/iio/gyro/itg3200_core.c
+++ b/drivers/iio/gyro/itg3200_core.c
@@ -295,8 +295,7 @@ static const struct iio_info itg3200_info = {
static const unsigned long itg3200_available_scan_masks[] = { 0xffffffff, 0x0 };
-static int itg3200_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int itg3200_probe(struct i2c_client *client)
{
int ret;
struct itg3200 *st;
@@ -406,7 +405,7 @@ static struct i2c_driver itg3200_driver = {
.pm = pm_sleep_ptr(&itg3200_pm_ops),
},
.id_table = itg3200_id,
- .probe = itg3200_probe,
+ .probe_new = itg3200_probe,
.remove = itg3200_remove,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 095/606] iio: gyro: mpu3050-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
` (45 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 094/606] iio: gyro: itg3200_core: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 096/606] iio: gyro: st_gyro_i2c: " Uwe Kleine-König
` (105 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Linus Walleij, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/gyro/mpu3050-i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/gyro/mpu3050-i2c.c b/drivers/iio/gyro/mpu3050-i2c.c
index 12e3afa9dd11..2116798226bf 100644
--- a/drivers/iio/gyro/mpu3050-i2c.c
+++ b/drivers/iio/gyro/mpu3050-i2c.c
@@ -32,9 +32,9 @@ static int mpu3050_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id)
return 0;
}
-static int mpu3050_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mpu3050_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name;
struct mpu3050 *mpu3050;
@@ -108,7 +108,7 @@ static const struct of_device_id mpu3050_i2c_of_match[] = {
MODULE_DEVICE_TABLE(of, mpu3050_i2c_of_match);
static struct i2c_driver mpu3050_i2c_driver = {
- .probe = mpu3050_i2c_probe,
+ .probe_new = mpu3050_i2c_probe,
.remove = mpu3050_i2c_remove,
.id_table = mpu3050_i2c_id,
.driver = {
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 096/606] iio: gyro: st_gyro_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
` (46 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 095/606] iio: gyro: mpu3050-i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 097/606] iio: health: afe4404: " Uwe Kleine-König
` (104 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/gyro/st_gyro_i2c.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c
index 8c7af42b6558..797a1c6a0402 100644
--- a/drivers/iio/gyro/st_gyro_i2c.c
+++ b/drivers/iio/gyro/st_gyro_i2c.c
@@ -58,8 +58,7 @@ static const struct of_device_id st_gyro_of_match[] = {
};
MODULE_DEVICE_TABLE(of, st_gyro_of_match);
-static int st_gyro_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int st_gyro_i2c_probe(struct i2c_client *client)
{
const struct st_sensor_settings *settings;
struct st_sensor_data *gdata;
@@ -112,7 +111,7 @@ static struct i2c_driver st_gyro_driver = {
.name = "st-gyro-i2c",
.of_match_table = st_gyro_of_match,
},
- .probe = st_gyro_i2c_probe,
+ .probe_new = st_gyro_i2c_probe,
.id_table = st_gyro_id_table,
};
module_i2c_driver(st_gyro_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 097/606] iio: health: afe4404: 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:37 ` [PATCH 096/606] iio: gyro: st_gyro_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 098/606] iio: health: max30100: " Uwe Kleine-König
` (103 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Dmitry Torokhov, Peter Rosin,
Peter Senna Tschudin, Wei Yongjun
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/health/afe4404.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/health/afe4404.c b/drivers/iio/health/afe4404.c
index 836da31b7e30..21a6378b7052 100644
--- a/drivers/iio/health/afe4404.c
+++ b/drivers/iio/health/afe4404.c
@@ -461,8 +461,7 @@ static int afe4404_resume(struct device *dev)
static DEFINE_SIMPLE_DEV_PM_OPS(afe4404_pm_ops, afe4404_suspend,
afe4404_resume);
-static int afe4404_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int afe4404_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct afe4404_data *afe;
@@ -610,7 +609,7 @@ static struct i2c_driver afe4404_i2c_driver = {
.of_match_table = afe4404_of_match,
.pm = pm_sleep_ptr(&afe4404_pm_ops),
},
- .probe = afe4404_probe,
+ .probe_new = afe4404_probe,
.remove = afe4404_remove,
.id_table = afe4404_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 098/606] iio: health: max30100: 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:37 ` [PATCH 097/606] iio: health: afe4404: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 099/606] iio: health: max30102: " Uwe Kleine-König
` (102 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Maximilian Luz, Corey Minyard,
Krzysztof Hałasa, Miquel Raynal, Nuno Sá
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/health/max30100.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/health/max30100.c b/drivers/iio/health/max30100.c
index 3aa5d037a1c3..a80fa9852c22 100644
--- a/drivers/iio/health/max30100.c
+++ b/drivers/iio/health/max30100.c
@@ -417,8 +417,7 @@ static const struct iio_info max30100_info = {
.read_raw = max30100_read_raw,
};
-static int max30100_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max30100_probe(struct i2c_client *client)
{
struct max30100_data *data;
struct iio_dev *indio_dev;
@@ -500,7 +499,7 @@ static struct i2c_driver max30100_driver = {
.name = MAX30100_DRV_NAME,
.of_match_table = max30100_dt_ids,
},
- .probe = max30100_probe,
+ .probe_new = max30100_probe,
.remove = max30100_remove,
.id_table = max30100_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 099/606] iio: health: max30102: 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:37 ` [PATCH 098/606] iio: health: max30100: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 100/606] iio: humidity: am2315: " Uwe Kleine-König
` (101 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Benjamin Mugnier,
Marek Behún, Nuno Sá, Miquel Raynal
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/health/max30102.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/health/max30102.c b/drivers/iio/health/max30102.c
index 66df4aaa31a7..7edcf9e05687 100644
--- a/drivers/iio/health/max30102.c
+++ b/drivers/iio/health/max30102.c
@@ -513,9 +513,9 @@ static const struct iio_info max30102_info = {
.read_raw = max30102_read_raw,
};
-static int max30102_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max30102_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct max30102_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -631,7 +631,7 @@ static struct i2c_driver max30102_driver = {
.name = MAX30102_DRV_NAME,
.of_match_table = max30102_dt_ids,
},
- .probe = max30102_probe,
+ .probe_new = max30102_probe,
.remove = max30102_remove,
.id_table = max30102_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 100/606] iio: humidity: am2315: 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:37 ` [PATCH 099/606] iio: health: max30102: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 101/606] iio: humidity: hdc100x: " Uwe Kleine-König
` (100 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/am2315.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/am2315.c b/drivers/iio/humidity/am2315.c
index 4a39f1019347..f246516bd45e 100644
--- a/drivers/iio/humidity/am2315.c
+++ b/drivers/iio/humidity/am2315.c
@@ -218,8 +218,7 @@ static const struct iio_info am2315_info = {
.read_raw = am2315_read_raw,
};
-static int am2315_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int am2315_probe(struct i2c_client *client)
{
int ret;
struct iio_dev *indio_dev;
@@ -263,7 +262,7 @@ static struct i2c_driver am2315_driver = {
.driver = {
.name = "am2315",
},
- .probe = am2315_probe,
+ .probe_new = am2315_probe,
.id_table = am2315_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 101/606] iio: humidity: hdc100x: 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:37 ` [PATCH 100/606] iio: humidity: am2315: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 102/606] iio: humidity: hdc2010: " Uwe Kleine-König
` (99 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Kai-Heng Feng, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/hdc100x.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c
index 47f8e8ef56d6..49a950d739e4 100644
--- a/drivers/iio/humidity/hdc100x.c
+++ b/drivers/iio/humidity/hdc100x.c
@@ -351,8 +351,7 @@ static const struct iio_info hdc100x_info = {
.attrs = &hdc100x_attribute_group,
};
-static int hdc100x_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int hdc100x_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct hdc100x_data *data;
@@ -429,7 +428,7 @@ static struct i2c_driver hdc100x_driver = {
.of_match_table = hdc100x_dt_ids,
.acpi_match_table = hdc100x_acpi_match,
},
- .probe = hdc100x_probe,
+ .probe_new = hdc100x_probe,
.id_table = hdc100x_id,
};
module_i2c_driver(hdc100x_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 102/606] iio: humidity: hdc2010: 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:37 ` [PATCH 101/606] iio: humidity: hdc100x: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 103/606] iio: humidity: hts221_i2c: " Uwe Kleine-König
` (98 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jean Delvare, Corey Minyard, Andy Shevchenko,
Peter Senna Tschudin
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/hdc2010.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/hdc2010.c b/drivers/iio/humidity/hdc2010.c
index d6858ccb056e..c8fddd612e06 100644
--- a/drivers/iio/humidity/hdc2010.c
+++ b/drivers/iio/humidity/hdc2010.c
@@ -251,8 +251,7 @@ static const struct iio_info hdc2010_info = {
.attrs = &hdc2010_attribute_group,
};
-static int hdc2010_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int hdc2010_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct hdc2010_data *data;
@@ -339,7 +338,7 @@ static struct i2c_driver hdc2010_driver = {
.name = "hdc2010",
.of_match_table = hdc2010_dt_ids,
},
- .probe = hdc2010_probe,
+ .probe_new = hdc2010_probe,
.remove = hdc2010_remove,
.id_table = hdc2010_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 103/606] iio: humidity: hts221_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
` (53 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 102/606] iio: humidity: hdc2010: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 104/606] iio: humidity: htu21: " Uwe Kleine-König
` (97 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lorenzo Bianconi, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/hts221_i2c.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/hts221_i2c.c b/drivers/iio/humidity/hts221_i2c.c
index afbc611f7712..d81869423cf0 100644
--- a/drivers/iio/humidity/hts221_i2c.c
+++ b/drivers/iio/humidity/hts221_i2c.c
@@ -25,8 +25,7 @@ static const struct regmap_config hts221_i2c_regmap_config = {
.read_flag_mask = HTS221_I2C_AUTO_INCREMENT,
};
-static int hts221_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int hts221_i2c_probe(struct i2c_client *client)
{
struct regmap *regmap;
@@ -66,7 +65,7 @@ static struct i2c_driver hts221_driver = {
.of_match_table = hts221_i2c_of_match,
.acpi_match_table = ACPI_PTR(hts221_acpi_match),
},
- .probe = hts221_i2c_probe,
+ .probe_new = hts221_i2c_probe,
.id_table = hts221_i2c_id_table,
};
module_i2c_driver(hts221_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 104/606] iio: humidity: htu21: 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:37 ` [PATCH 103/606] iio: humidity: hts221_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 105/606] iio: humidity: si7005: " Uwe Kleine-König
` (96 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/htu21.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/htu21.c b/drivers/iio/humidity/htu21.c
index fd9e2565f8a2..8411a9f3e828 100644
--- a/drivers/iio/humidity/htu21.c
+++ b/drivers/iio/humidity/htu21.c
@@ -177,9 +177,9 @@ static const struct iio_info htu21_info = {
.attrs = &htu21_attribute_group,
};
-static int htu21_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int htu21_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ms_ht_dev *dev_data;
struct iio_dev *indio_dev;
int ret;
@@ -244,7 +244,7 @@ static const struct of_device_id htu21_of_match[] = {
MODULE_DEVICE_TABLE(of, htu21_of_match);
static struct i2c_driver htu21_driver = {
- .probe = htu21_probe,
+ .probe_new = htu21_probe,
.id_table = htu21_id,
.driver = {
.name = "htu21",
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 105/606] iio: humidity: si7005: 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:37 ` [PATCH 104/606] iio: humidity: htu21: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 106/606] iio: humidity: si7020: " Uwe Kleine-König
` (95 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/si7005.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/si7005.c b/drivers/iio/humidity/si7005.c
index 160b3d92df61..fa1faf168c8d 100644
--- a/drivers/iio/humidity/si7005.c
+++ b/drivers/iio/humidity/si7005.c
@@ -123,8 +123,7 @@ static const struct iio_info si7005_info = {
.read_raw = si7005_read_raw,
};
-static int si7005_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int si7005_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct si7005_data *data;
@@ -174,7 +173,7 @@ static struct i2c_driver si7005_driver = {
.driver = {
.name = "si7005",
},
- .probe = si7005_probe,
+ .probe_new = si7005_probe,
.id_table = si7005_id,
};
module_i2c_driver(si7005_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 106/606] iio: humidity: si7020: 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:37 ` [PATCH 105/606] iio: humidity: si7005: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 107/606] iio: imu: bmi160/bmi160_i2c: " Uwe Kleine-König
` (94 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/humidity/si7020.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/humidity/si7020.c b/drivers/iio/humidity/si7020.c
index ab6537f136ba..3e50592e8e68 100644
--- a/drivers/iio/humidity/si7020.c
+++ b/drivers/iio/humidity/si7020.c
@@ -103,8 +103,7 @@ static const struct iio_info si7020_info = {
.read_raw = si7020_read_raw,
};
-static int si7020_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int si7020_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct i2c_client **data;
@@ -156,7 +155,7 @@ static struct i2c_driver si7020_driver = {
.name = "si7020",
.of_match_table = si7020_dt_ids,
},
- .probe = si7020_probe,
+ .probe_new = si7020_probe,
.id_table = si7020_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 107/606] iio: imu: bmi160/bmi160_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
` (57 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 106/606] iio: humidity: si7020: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 108/606] iio: imu: fxos8700_i2c: " Uwe Kleine-König
` (93 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/imu/bmi160/bmi160_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/bmi160/bmi160_i2c.c b/drivers/iio/imu/bmi160/bmi160_i2c.c
index d93f4fa2ad55..2ca907d396a0 100644
--- a/drivers/iio/imu/bmi160/bmi160_i2c.c
+++ b/drivers/iio/imu/bmi160/bmi160_i2c.c
@@ -15,9 +15,9 @@
#include "bmi160.h"
-static int bmi160_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bmi160_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name;
@@ -60,7 +60,7 @@ static struct i2c_driver bmi160_i2c_driver = {
.acpi_match_table = bmi160_acpi_match,
.of_match_table = bmi160_of_match,
},
- .probe = bmi160_i2c_probe,
+ .probe_new = bmi160_i2c_probe,
.id_table = bmi160_i2c_id,
};
module_i2c_driver(bmi160_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 108/606] iio: imu: fxos8700_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
` (58 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 107/606] iio: imu: bmi160/bmi160_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 109/606] iio: imu: inv_mpu6050: " Uwe Kleine-König
` (92 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/imu/fxos8700_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/fxos8700_i2c.c b/drivers/iio/imu/fxos8700_i2c.c
index 40a570325b0a..a74a15fda8cb 100644
--- a/drivers/iio/imu/fxos8700_i2c.c
+++ b/drivers/iio/imu/fxos8700_i2c.c
@@ -18,9 +18,9 @@
#include "fxos8700.h"
-static int fxos8700_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int fxos8700_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name = NULL;
@@ -60,7 +60,7 @@ static struct i2c_driver fxos8700_i2c_driver = {
.acpi_match_table = ACPI_PTR(fxos8700_acpi_match),
.of_match_table = fxos8700_of_match,
},
- .probe = fxos8700_i2c_probe,
+ .probe_new = fxos8700_i2c_probe,
.id_table = fxos8700_i2c_id,
};
module_i2c_driver(fxos8700_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 109/606] iio: imu: inv_mpu6050: 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:37 ` [PATCH 108/606] iio: imu: fxos8700_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-22 10:06 ` Jean-Baptiste Maneyrol
2022-11-23 20:21 ` Jonathan Cameron
2022-11-18 22:37 ` [PATCH 110/606] iio: imu: kmx61: " Uwe Kleine-König
` (91 subsequent siblings)
152 siblings, 2 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Jean-Baptiste Maneyrol,
Hans Verkuil, Michael Srba
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
index 7a8d60a5afa9..70eaa408e388 100644
--- a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
+++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
@@ -95,9 +95,9 @@ static int inv_mpu_i2c_aux_setup(struct iio_dev *indio_dev)
*
* Returns 0 on success, a negative error code otherwise.
*/
-static int inv_mpu_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int inv_mpu_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const void *match;
struct inv_mpu6050_state *st;
int result;
@@ -260,7 +260,7 @@ static const struct acpi_device_id inv_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, inv_acpi_match);
static struct i2c_driver inv_mpu_driver = {
- .probe = inv_mpu_probe,
+ .probe_new = inv_mpu_probe,
.remove = inv_mpu_remove,
.id_table = inv_mpu_id,
.driver = {
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 110/606] iio: imu: kmx61: 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:37 ` [PATCH 109/606] iio: imu: inv_mpu6050: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 111/606] iio: imu: st_lsm6dsx: " Uwe Kleine-König
` (90 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Hans Verkuil,
Peter Senna Tschudin, Miaoqian Lin
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/imu/kmx61.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c
index b10c0dcac0bb..e692dfeeda44 100644
--- a/drivers/iio/imu/kmx61.c
+++ b/drivers/iio/imu/kmx61.c
@@ -1276,9 +1276,9 @@ static struct iio_trigger *kmx61_trigger_setup(struct kmx61_data *data,
return trig;
}
-static int kmx61_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int kmx61_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret;
struct kmx61_data *data;
const char *name = NULL;
@@ -1517,7 +1517,7 @@ static struct i2c_driver kmx61_driver = {
.acpi_match_table = ACPI_PTR(kmx61_acpi_match),
.pm = pm_ptr(&kmx61_pm_ops),
},
- .probe = kmx61_probe,
+ .probe_new = kmx61_probe,
.remove = kmx61_remove,
.id_table = kmx61_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 111/606] iio: imu: st_lsm6dsx: 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:37 ` [PATCH 110/606] iio: imu: kmx61: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 112/606] iio: light: adjd_s311: " Uwe Kleine-König
` (89 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lorenzo Bianconi, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
index 0faf1b4c11af..3570fac1b612 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
@@ -21,9 +21,9 @@ static const struct regmap_config st_lsm6dsx_i2c_regmap_config = {
.val_bits = 8,
};
-static int st_lsm6dsx_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int st_lsm6dsx_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int hw_id = id->driver_data;
struct regmap *regmap;
@@ -152,7 +152,7 @@ static struct i2c_driver st_lsm6dsx_driver = {
.pm = pm_sleep_ptr(&st_lsm6dsx_pm_ops),
.of_match_table = st_lsm6dsx_i2c_of_match,
},
- .probe = st_lsm6dsx_i2c_probe,
+ .probe_new = st_lsm6dsx_i2c_probe,
.id_table = st_lsm6dsx_i2c_id_table,
};
module_i2c_driver(st_lsm6dsx_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 112/606] iio: light: adjd_s311: 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:37 ` [PATCH 111/606] iio: imu: st_lsm6dsx: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 113/606] iio: light: adux1020: " Uwe Kleine-König
` (88 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/adjd_s311.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/adjd_s311.c b/drivers/iio/light/adjd_s311.c
index 6b33975c8d73..210a90f44c53 100644
--- a/drivers/iio/light/adjd_s311.c
+++ b/drivers/iio/light/adjd_s311.c
@@ -233,8 +233,7 @@ static const struct iio_info adjd_s311_info = {
.write_raw = adjd_s311_write_raw,
};
-static int adjd_s311_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int adjd_s311_probe(struct i2c_client *client)
{
struct adjd_s311_data *data;
struct iio_dev *indio_dev;
@@ -271,7 +270,7 @@ static struct i2c_driver adjd_s311_driver = {
.driver = {
.name = ADJD_S311_DRV_NAME,
},
- .probe = adjd_s311_probe,
+ .probe_new = adjd_s311_probe,
.id_table = adjd_s311_id,
};
module_i2c_driver(adjd_s311_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 113/606] iio: light: adux1020: 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:37 ` [PATCH 112/606] iio: light: adjd_s311: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 114/606] iio: light: al3010: " Uwe Kleine-König
` (87 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/light/adux1020.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/adux1020.c b/drivers/iio/light/adux1020.c
index 9aa28695e6f1..606075350d01 100644
--- a/drivers/iio/light/adux1020.c
+++ b/drivers/iio/light/adux1020.c
@@ -774,8 +774,7 @@ static int adux1020_chip_init(struct adux1020_data *data)
ADUX1020_MODE_INT_MASK, ADUX1020_MODE_INT_DISABLE);
}
-static int adux1020_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int adux1020_probe(struct i2c_client *client)
{
struct adux1020_data *data;
struct iio_dev *indio_dev;
@@ -838,7 +837,7 @@ static struct i2c_driver adux1020_driver = {
.name = ADUX1020_DRV_NAME,
.of_match_table = adux1020_of_match,
},
- .probe = adux1020_probe,
+ .probe_new = adux1020_probe,
.id_table = adux1020_id,
};
module_i2c_driver(adux1020_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 114/606] iio: light: al3010: 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:37 ` [PATCH 113/606] iio: light: adux1020: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 23:05 ` David Heidelberg
2022-11-18 22:37 ` [PATCH 115/606] iio: light: al3320a: " Uwe Kleine-König
` (86 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil, David Heidelberg
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/al3010.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/al3010.c b/drivers/iio/light/al3010.c
index ce5363845b22..69cc723e2ac4 100644
--- a/drivers/iio/light/al3010.c
+++ b/drivers/iio/light/al3010.c
@@ -164,8 +164,7 @@ static const struct iio_info al3010_info = {
.attrs = &al3010_attribute_group,
};
-static int al3010_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int al3010_probe(struct i2c_client *client)
{
struct al3010_data *data;
struct iio_dev *indio_dev;
@@ -230,7 +229,7 @@ static struct i2c_driver al3010_driver = {
.of_match_table = al3010_of_match,
.pm = pm_sleep_ptr(&al3010_pm_ops),
},
- .probe = al3010_probe,
+ .probe_new = al3010_probe,
.id_table = al3010_id,
};
module_i2c_driver(al3010_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 115/606] iio: light: al3320a: 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:37 ` [PATCH 114/606] iio: light: al3010: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 116/606] iio: light: apds9300: " Uwe Kleine-König
` (85 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/al3320a.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/al3320a.c b/drivers/iio/light/al3320a.c
index bc99179728ed..9ff28bbf34bb 100644
--- a/drivers/iio/light/al3320a.c
+++ b/drivers/iio/light/al3320a.c
@@ -187,8 +187,7 @@ static const struct iio_info al3320a_info = {
.attrs = &al3320a_attribute_group,
};
-static int al3320a_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int al3320a_probe(struct i2c_client *client)
{
struct al3320a_data *data;
struct iio_dev *indio_dev;
@@ -254,7 +253,7 @@ static struct i2c_driver al3320a_driver = {
.of_match_table = al3320a_of_match,
.pm = pm_sleep_ptr(&al3320a_pm_ops),
},
- .probe = al3320a_probe,
+ .probe_new = al3320a_probe,
.id_table = al3320a_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 116/606] iio: light: apds9300: 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:37 ` [PATCH 115/606] iio: light: al3320a: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 117/606] iio: light: apds9960: " Uwe Kleine-König
` (84 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Crt Mori, Jean Delvare, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/apds9300.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/apds9300.c b/drivers/iio/light/apds9300.c
index b70f2681bcb3..15dfb753734f 100644
--- a/drivers/iio/light/apds9300.c
+++ b/drivers/iio/light/apds9300.c
@@ -398,8 +398,7 @@ static irqreturn_t apds9300_interrupt_handler(int irq, void *private)
return IRQ_HANDLED;
}
-static int apds9300_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int apds9300_probe(struct i2c_client *client)
{
struct apds9300_data *data;
struct iio_dev *indio_dev;
@@ -505,7 +504,7 @@ static struct i2c_driver apds9300_driver = {
.name = APDS9300_DRV_NAME,
.pm = pm_sleep_ptr(&apds9300_pm_ops),
},
- .probe = apds9300_probe,
+ .probe_new = apds9300_probe,
.remove = apds9300_remove,
.id_table = apds9300_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 117/606] iio: light: apds9960: 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:37 ` [PATCH 116/606] iio: light: apds9300: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-19 5:47 ` Matt Ranostay
2022-11-18 22:37 ` [PATCH 118/606] iio: light: bh1750: " Uwe Kleine-König
` (83 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Matt Ranostay, Jeremy Kerr, Hans Verkuil,
Alejandro Concepción Rodríguez, Miquel Raynal,
Subhajit Ghosh
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/apds9960.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
index a585ce0c122f..cc5974a95bd3 100644
--- a/drivers/iio/light/apds9960.c
+++ b/drivers/iio/light/apds9960.c
@@ -988,8 +988,7 @@ static int apds9960_chip_init(struct apds9960_data *data)
return apds9960_set_powermode(data, 1);
}
-static int apds9960_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int apds9960_probe(struct i2c_client *client)
{
struct apds9960_data *data;
struct iio_dev *indio_dev;
@@ -1132,7 +1131,7 @@ static struct i2c_driver apds9960_driver = {
.pm = &apds9960_pm_ops,
.acpi_match_table = apds9960_acpi_match,
},
- .probe = apds9960_probe,
+ .probe_new = apds9960_probe,
.remove = apds9960_remove,
.id_table = apds9960_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 118/606] iio: light: bh1750: 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:37 ` [PATCH 117/606] iio: light: apds9960: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 119/606] iio: light: bh1780: " Uwe Kleine-König
` (82 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Tomasz Duszynski, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/bh1750.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c
index 3e92820bc820..390c5b3ad4f6 100644
--- a/drivers/iio/light/bh1750.c
+++ b/drivers/iio/light/bh1750.c
@@ -228,9 +228,9 @@ static const struct iio_chan_spec bh1750_channels[] = {
}
};
-static int bh1750_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bh1750_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret, usec;
struct bh1750_data *data;
struct iio_dev *indio_dev;
@@ -320,7 +320,7 @@ static struct i2c_driver bh1750_driver = {
.of_match_table = bh1750_of_match,
.pm = pm_sleep_ptr(&bh1750_pm_ops),
},
- .probe = bh1750_probe,
+ .probe_new = bh1750_probe,
.remove = bh1750_remove,
.id_table = bh1750_id,
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 119/606] iio: light: bh1780: 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:37 ` [PATCH 118/606] iio: light: bh1750: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 120/606] iio: light: cm3232: " Uwe Kleine-König
` (81 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Linus Walleij, Jean Delvare, Marek Behún
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/bh1780.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/bh1780.c b/drivers/iio/light/bh1780.c
index 90bca392b262..da9039e5a839 100644
--- a/drivers/iio/light/bh1780.c
+++ b/drivers/iio/light/bh1780.c
@@ -141,8 +141,7 @@ static const struct iio_chan_spec bh1780_channels[] = {
}
};
-static int bh1780_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bh1780_probe(struct i2c_client *client)
{
int ret;
struct bh1780_data *bh1780;
@@ -270,7 +269,7 @@ static const struct of_device_id of_bh1780_match[] = {
MODULE_DEVICE_TABLE(of, of_bh1780_match);
static struct i2c_driver bh1780_driver = {
- .probe = bh1780_probe,
+ .probe_new = bh1780_probe,
.remove = bh1780_remove,
.id_table = bh1780_id,
.driver = {
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 120/606] iio: light: cm3232: 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:37 ` [PATCH 119/606] iio: light: bh1780: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 121/606] iio: light: cm3323: " Uwe Kleine-König
` (80 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Kevin Tsai,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/cm3232.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/cm3232.c b/drivers/iio/light/cm3232.c
index 5214cd014cf8..43e492f5051d 100644
--- a/drivers/iio/light/cm3232.c
+++ b/drivers/iio/light/cm3232.c
@@ -325,9 +325,9 @@ static const struct iio_info cm3232_info = {
.attrs = &cm3232_attribute_group,
};
-static int cm3232_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int cm3232_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct cm3232_chip *chip;
struct iio_dev *indio_dev;
int ret;
@@ -417,7 +417,7 @@ static struct i2c_driver cm3232_driver = {
.pm = pm_sleep_ptr(&cm3232_pm_ops),
},
.id_table = cm3232_id,
- .probe = cm3232_probe,
+ .probe_new = cm3232_probe,
.remove = cm3232_remove,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 121/606] iio: light: cm3323: 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:37 ` [PATCH 120/606] iio: light: cm3232: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 122/606] iio: light: cm36651: " Uwe Kleine-König
` (79 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Kevin Tsai,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/cm3323.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/cm3323.c b/drivers/iio/light/cm3323.c
index fd9a8c27de2e..e5ce7d0fd272 100644
--- a/drivers/iio/light/cm3323.c
+++ b/drivers/iio/light/cm3323.c
@@ -214,8 +214,7 @@ static const struct iio_info cm3323_info = {
.attrs = &cm3323_attribute_group,
};
-static int cm3323_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int cm3323_probe(struct i2c_client *client)
{
struct cm3323_data *data;
struct iio_dev *indio_dev;
@@ -267,7 +266,7 @@ static struct i2c_driver cm3323_driver = {
.name = CM3323_DRV_NAME,
.of_match_table = cm3323_of_match,
},
- .probe = cm3323_probe,
+ .probe_new = cm3323_probe,
.id_table = cm3323_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 122/606] iio: light: cm36651: 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:37 ` [PATCH 121/606] iio: light: cm3323: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 123/606] iio: light: gp2ap002: " Uwe Kleine-König
` (78 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang, Kevin Tsai,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/cm36651.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/cm36651.c b/drivers/iio/light/cm36651.c
index 6615c98b601c..1707dbf2ce26 100644
--- a/drivers/iio/light/cm36651.c
+++ b/drivers/iio/light/cm36651.c
@@ -618,9 +618,9 @@ static const struct iio_info cm36651_info = {
.attrs = &cm36651_attribute_group,
};
-static int cm36651_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int cm36651_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct cm36651_data *cm36651;
struct iio_dev *indio_dev;
int ret;
@@ -730,7 +730,7 @@ static struct i2c_driver cm36651_driver = {
.name = "cm36651",
.of_match_table = cm36651_of_match,
},
- .probe = cm36651_probe,
+ .probe_new = cm36651_probe,
.remove = cm36651_remove,
.id_table = cm36651_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 123/606] iio: light: gp2ap002: 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:37 ` [PATCH 122/606] iio: light: cm36651: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 124/606] iio: light: gp2ap020a00f: " Uwe Kleine-König
` (77 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Linus Walleij, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/gp2ap002.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/gp2ap002.c b/drivers/iio/light/gp2ap002.c
index 8000fa347344..c0430db0038a 100644
--- a/drivers/iio/light/gp2ap002.c
+++ b/drivers/iio/light/gp2ap002.c
@@ -425,8 +425,7 @@ static struct regmap_bus gp2ap002_regmap_bus = {
.reg_write = gp2ap002_regmap_i2c_write,
};
-static int gp2ap002_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int gp2ap002_probe(struct i2c_client *client)
{
struct gp2ap002 *gp2ap002;
struct iio_dev *indio_dev;
@@ -711,7 +710,7 @@ static struct i2c_driver gp2ap002_driver = {
.of_match_table = gp2ap002_of_match,
.pm = pm_ptr(&gp2ap002_dev_pm_ops),
},
- .probe = gp2ap002_probe,
+ .probe_new = gp2ap002_probe,
.remove = gp2ap002_remove,
.id_table = gp2ap002_id_table,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 124/606] iio: light: gp2ap020a00f: 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:37 ` [PATCH 123/606] iio: light: gp2ap002: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 125/606] iio: light: isl29018: " Uwe Kleine-König
` (76 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Luca Ceresoli, Srinivas Pandruvada,
Javier Martinez Canillas
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/gp2ap020a00f.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c
index 826439299e8b..a5bf9da0d2f3 100644
--- a/drivers/iio/light/gp2ap020a00f.c
+++ b/drivers/iio/light/gp2ap020a00f.c
@@ -1467,9 +1467,9 @@ static const struct iio_buffer_setup_ops gp2ap020a00f_buffer_setup_ops = {
.predisable = &gp2ap020a00f_buffer_predisable,
};
-static int gp2ap020a00f_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int gp2ap020a00f_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct gp2ap020a00f_data *data;
struct iio_dev *indio_dev;
struct regmap *regmap;
@@ -1609,7 +1609,7 @@ static struct i2c_driver gp2ap020a00f_driver = {
.name = GP2A_I2C_NAME,
.of_match_table = gp2ap020a00f_of_match,
},
- .probe = gp2ap020a00f_probe,
+ .probe_new = gp2ap020a00f_probe,
.remove = gp2ap020a00f_remove,
.id_table = gp2ap020a00f_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 125/606] iio: light: isl29018: 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:37 ` [PATCH 124/606] iio: light: gp2ap020a00f: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 126/606] iio: light: isl29028: " Uwe Kleine-König
` (75 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/isl29018.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/isl29018.c b/drivers/iio/light/isl29018.c
index b36f8b7ca68e..141845fb47f9 100644
--- a/drivers/iio/light/isl29018.c
+++ b/drivers/iio/light/isl29018.c
@@ -711,9 +711,9 @@ static void isl29018_disable_regulator_action(void *_data)
pr_err("failed to disable isl29018's VCC regulator!\n");
}
-static int isl29018_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int isl29018_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct isl29018_chip *chip;
struct iio_dev *indio_dev;
int err;
@@ -865,7 +865,7 @@ static struct i2c_driver isl29018_driver = {
.pm = pm_sleep_ptr(&isl29018_pm_ops),
.of_match_table = isl29018_of_match,
},
- .probe = isl29018_probe,
+ .probe_new = isl29018_probe,
.id_table = isl29018_id,
};
module_i2c_driver(isl29018_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 126/606] iio: light: isl29028: 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
` (76 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 125/606] iio: light: isl29018: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 127/606] iio: light: isl29125: " Uwe Kleine-König
` (74 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Maximilian Luz, Krzysztof Hałasa,
Adrien Grassein, Zheyu Ma
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/isl29028.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/isl29028.c b/drivers/iio/light/isl29028.c
index 32d58e18f26d..bcf3a556e41a 100644
--- a/drivers/iio/light/isl29028.c
+++ b/drivers/iio/light/isl29028.c
@@ -565,9 +565,9 @@ static const struct regmap_config isl29028_regmap_config = {
.cache_type = REGCACHE_RBTREE,
};
-static int isl29028_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int isl29028_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct isl29028_chip *chip;
struct iio_dev *indio_dev;
int ret;
@@ -698,7 +698,7 @@ static struct i2c_driver isl29028_driver = {
.pm = pm_ptr(&isl29028_pm_ops),
.of_match_table = isl29028_of_match,
},
- .probe = isl29028_probe,
+ .probe_new = isl29028_probe,
.remove = isl29028_remove,
.id_table = isl29028_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 127/606] iio: light: isl29125: 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
` (77 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 126/606] iio: light: isl29028: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 128/606] iio: light: jsa1212: " Uwe Kleine-König
` (73 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Greg Kroah-Hartman, Hans Verkuil,
Dmitry Torokhov
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/isl29125.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/isl29125.c b/drivers/iio/light/isl29125.c
index c199e63cce82..b4bd656ca169 100644
--- a/drivers/iio/light/isl29125.c
+++ b/drivers/iio/light/isl29125.c
@@ -241,8 +241,7 @@ static const struct iio_buffer_setup_ops isl29125_buffer_setup_ops = {
.predisable = isl29125_buffer_predisable,
};
-static int isl29125_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int isl29125_probe(struct i2c_client *client)
{
struct isl29125_data *data;
struct iio_dev *indio_dev;
@@ -338,7 +337,7 @@ static struct i2c_driver isl29125_driver = {
.name = ISL29125_DRV_NAME,
.pm = pm_sleep_ptr(&isl29125_pm_ops),
},
- .probe = isl29125_probe,
+ .probe_new = isl29125_probe,
.remove = isl29125_remove,
.id_table = isl29125_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 128/606] iio: light: jsa1212: 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
` (78 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 127/606] iio: light: isl29125: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 129/606] iio: light: ltr501: " Uwe Kleine-König
` (72 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Ajay Gupta, Paul Cercueil, Luca Ceresoli
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/jsa1212.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/jsa1212.c b/drivers/iio/light/jsa1212.c
index 57ce6d75966c..d3834d0a0635 100644
--- a/drivers/iio/light/jsa1212.c
+++ b/drivers/iio/light/jsa1212.c
@@ -308,8 +308,7 @@ static const struct regmap_config jsa1212_regmap_config = {
.volatile_reg = jsa1212_is_volatile_reg,
};
-static int jsa1212_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int jsa1212_probe(struct i2c_client *client)
{
struct jsa1212_data *data;
struct iio_dev *indio_dev;
@@ -441,7 +440,7 @@ static struct i2c_driver jsa1212_driver = {
.pm = pm_sleep_ptr(&jsa1212_pm_ops),
.acpi_match_table = ACPI_PTR(jsa1212_acpi_match),
},
- .probe = jsa1212_probe,
+ .probe_new = jsa1212_probe,
.remove = jsa1212_remove,
.id_table = jsa1212_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 129/606] iio: light: ltr501: 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
` (79 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 128/606] iio: light: jsa1212: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 130/606] iio: light: lv0104cs: " Uwe Kleine-König
` (71 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Nikita Travkin, Krzysztof Hałasa,
Matti Vaittinen
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/ltr501.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c
index 453b845ef265..bdbd918213e4 100644
--- a/drivers/iio/light/ltr501.c
+++ b/drivers/iio/light/ltr501.c
@@ -1432,9 +1432,9 @@ static const char *ltr501_match_acpi_device(struct device *dev, int *chip_idx)
return dev_name(dev);
}
-static int ltr501_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ltr501_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
static const char * const regulator_names[] = { "vdd", "vddio" };
struct ltr501_data *data;
struct iio_dev *indio_dev;
@@ -1641,7 +1641,7 @@ static struct i2c_driver ltr501_driver = {
.pm = pm_sleep_ptr(<r501_pm_ops),
.acpi_match_table = ACPI_PTR(ltr_acpi_match),
},
- .probe = ltr501_probe,
+ .probe_new = ltr501_probe,
.remove = ltr501_remove,
.id_table = ltr501_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 130/606] iio: light: lv0104cs: 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
` (80 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 129/606] iio: light: ltr501: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 131/606] iio: light: max44000: " Uwe Kleine-König
` (70 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/lv0104cs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/lv0104cs.c b/drivers/iio/light/lv0104cs.c
index c2aef88f4e63..c041fa0faa5d 100644
--- a/drivers/iio/light/lv0104cs.c
+++ b/drivers/iio/light/lv0104cs.c
@@ -474,8 +474,7 @@ static const struct iio_chan_spec lv0104cs_channels[] = {
},
};
-static int lv0104cs_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int lv0104cs_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct lv0104cs_private *lv0104cs;
@@ -521,7 +520,7 @@ static struct i2c_driver lv0104cs_i2c_driver = {
.name = "lv0104cs",
},
.id_table = lv0104cs_id,
- .probe = lv0104cs_probe,
+ .probe_new = lv0104cs_probe,
};
module_i2c_driver(lv0104cs_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 131/606] iio: light: max44000: 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
` (81 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 130/606] iio: light: lv0104cs: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 132/606] iio: light: max44009: " Uwe Kleine-König
` (69 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/max44000.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/max44000.c b/drivers/iio/light/max44000.c
index 85689dffbcbf..5dcabc43a30e 100644
--- a/drivers/iio/light/max44000.c
+++ b/drivers/iio/light/max44000.c
@@ -523,8 +523,7 @@ static irqreturn_t max44000_trigger_handler(int irq, void *p)
return IRQ_HANDLED;
}
-static int max44000_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max44000_probe(struct i2c_client *client)
{
struct max44000_data *data;
struct iio_dev *indio_dev;
@@ -617,7 +616,7 @@ static struct i2c_driver max44000_driver = {
.name = MAX44000_DRV_NAME,
.acpi_match_table = ACPI_PTR(max44000_acpi_match),
},
- .probe = max44000_probe,
+ .probe_new = max44000_probe,
.id_table = max44000_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 132/606] iio: light: max44009: 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
` (82 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 131/606] iio: light: max44000: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-12-06 11:23 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 133/606] iio: light: noa1305: " Uwe Kleine-König
` (68 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/max44009.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/max44009.c b/drivers/iio/light/max44009.c
index 801e5a0ad496..3dadace09fe2 100644
--- a/drivers/iio/light/max44009.c
+++ b/drivers/iio/light/max44009.c
@@ -487,8 +487,7 @@ static irqreturn_t max44009_threaded_irq_handler(int irq, void *p)
return IRQ_NONE;
}
-static int max44009_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max44009_probe(struct i2c_client *client)
{
struct max44009_data *data;
struct iio_dev *indio_dev;
@@ -538,7 +537,7 @@ static struct i2c_driver max44009_driver = {
.driver = {
.name = MAX44009_DRV_NAME,
},
- .probe = max44009_probe,
+ .probe_new = max44009_probe,
.id_table = max44009_id,
};
module_i2c_driver(max44009_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 133/606] iio: light: noa1305: 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
` (83 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 132/606] iio: light: max44009: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 134/606] iio: light: opt3001: " Uwe Kleine-König
` (67 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Matti Vaittinen, Nuno Sá
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/noa1305.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/noa1305.c b/drivers/iio/light/noa1305.c
index be3536b390fc..eaf548d4649e 100644
--- a/drivers/iio/light/noa1305.c
+++ b/drivers/iio/light/noa1305.c
@@ -186,8 +186,7 @@ static const struct regmap_config noa1305_regmap_config = {
.writeable_reg = noa1305_writable_reg,
};
-static int noa1305_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int noa1305_probe(struct i2c_client *client)
{
struct noa1305_priv *priv;
struct iio_dev *indio_dev;
@@ -279,7 +278,7 @@ static struct i2c_driver noa1305_driver = {
.name = NOA1305_DRIVER_NAME,
.of_match_table = noa1305_of_match,
},
- .probe = noa1305_probe,
+ .probe_new = noa1305_probe,
.id_table = noa1305_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 134/606] iio: light: opt3001: 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
` (84 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 133/606] iio: light: noa1305: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 135/606] iio: light: pa12203001: " Uwe Kleine-König
` (66 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Dmitry Torokhov, Greg Kroah-Hartman,
Marek Behún
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/opt3001.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/opt3001.c b/drivers/iio/light/opt3001.c
index a26d1c3f9543..ec4f5c2369c4 100644
--- a/drivers/iio/light/opt3001.c
+++ b/drivers/iio/light/opt3001.c
@@ -735,8 +735,7 @@ static irqreturn_t opt3001_irq(int irq, void *_iio)
return IRQ_HANDLED;
}
-static int opt3001_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int opt3001_probe(struct i2c_client *client)
{
struct device *dev = &client->dev;
@@ -835,7 +834,7 @@ static const struct of_device_id opt3001_of_match[] = {
MODULE_DEVICE_TABLE(of, opt3001_of_match);
static struct i2c_driver opt3001_driver = {
- .probe = opt3001_probe,
+ .probe_new = opt3001_probe,
.remove = opt3001_remove,
.id_table = opt3001_id,
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 135/606] iio: light: pa12203001: 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
` (85 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 134/606] iio: light: opt3001: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 136/606] iio: light: rpr0521: " Uwe Kleine-König
` (65 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Benjamin Mugnier, Miguel Ojeda, Peter Rosin
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/pa12203001.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/pa12203001.c b/drivers/iio/light/pa12203001.c
index 3cb2de51f4aa..15a666f15c27 100644
--- a/drivers/iio/light/pa12203001.c
+++ b/drivers/iio/light/pa12203001.c
@@ -338,8 +338,7 @@ static int pa12203001_power_chip(struct iio_dev *indio_dev, u8 state)
return ret;
}
-static int pa12203001_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int pa12203001_probe(struct i2c_client *client)
{
struct pa12203001_data *data;
struct iio_dev *indio_dev;
@@ -475,7 +474,7 @@ static struct i2c_driver pa12203001_driver = {
.pm = &pa12203001_pm_ops,
.acpi_match_table = ACPI_PTR(pa12203001_acpi_match),
},
- .probe = pa12203001_probe,
+ .probe_new = pa12203001_probe,
.remove = pa12203001_remove,
.id_table = pa12203001_id,
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 136/606] iio: light: rpr0521: 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
` (86 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 135/606] iio: light: pa12203001: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 137/606] iio: light: si1133: " Uwe Kleine-König
` (64 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Greg Kroah-Hartman, Miguel Ojeda,
Dmitry Torokhov
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/rpr0521.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/rpr0521.c b/drivers/iio/light/rpr0521.c
index d1c16dd76058..668e444f6049 100644
--- a/drivers/iio/light/rpr0521.c
+++ b/drivers/iio/light/rpr0521.c
@@ -927,8 +927,7 @@ static const struct regmap_config rpr0521_regmap_config = {
.volatile_reg = rpr0521_is_volatile_reg,
};
-static int rpr0521_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int rpr0521_probe(struct i2c_client *client)
{
struct rpr0521_data *data;
struct iio_dev *indio_dev;
@@ -1122,7 +1121,7 @@ static struct i2c_driver rpr0521_driver = {
.pm = pm_ptr(&rpr0521_pm_ops),
.acpi_match_table = ACPI_PTR(rpr0521_acpi_match),
},
- .probe = rpr0521_probe,
+ .probe_new = rpr0521_probe,
.remove = rpr0521_remove,
.id_table = rpr0521_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 137/606] iio: light: si1133: 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
` (87 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 136/606] iio: light: rpr0521: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 138/606] iio: light: si1145: " Uwe Kleine-König
` (63 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/si1133.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/si1133.c b/drivers/iio/light/si1133.c
index f8c9b2cc322e..a08fbc8f5adb 100644
--- a/drivers/iio/light/si1133.c
+++ b/drivers/iio/light/si1133.c
@@ -990,9 +990,9 @@ static int si1133_validate_ids(struct iio_dev *iio_dev)
return 0;
}
-static int si1133_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int si1133_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct si1133_data *data;
struct iio_dev *iio_dev;
int err;
@@ -1064,7 +1064,7 @@ static struct i2c_driver si1133_driver = {
.driver = {
.name = "si1133",
},
- .probe = si1133_probe,
+ .probe_new = si1133_probe,
.id_table = si1133_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 138/606] iio: light: si1145: 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
` (88 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 137/606] iio: light: si1133: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 139/606] iio: light: st_uvis25_i2c: " Uwe Kleine-König
` (62 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/si1145.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/si1145.c b/drivers/iio/light/si1145.c
index e8f6cdf26f22..f7126235f94c 100644
--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -1269,9 +1269,9 @@ static int si1145_probe_trigger(struct iio_dev *indio_dev)
return 0;
}
-static int si1145_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int si1145_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct si1145_data *data;
struct iio_dev *indio_dev;
u8 part_id, rev_id, seq_id;
@@ -1352,7 +1352,7 @@ static struct i2c_driver si1145_driver = {
.driver = {
.name = "si1145",
},
- .probe = si1145_probe,
+ .probe_new = si1145_probe,
.id_table = si1145_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 139/606] iio: light: st_uvis25_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
` (89 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 138/606] iio: light: si1145: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 140/606] iio: light: stk3310: " Uwe Kleine-König
` (61 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/st_uvis25_i2c.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/st_uvis25_i2c.c b/drivers/iio/light/st_uvis25_i2c.c
index c982b0b255cf..2160e87bb498 100644
--- a/drivers/iio/light/st_uvis25_i2c.c
+++ b/drivers/iio/light/st_uvis25_i2c.c
@@ -25,8 +25,7 @@ static const struct regmap_config st_uvis25_i2c_regmap_config = {
.read_flag_mask = UVIS25_I2C_AUTO_INCREMENT,
};
-static int st_uvis25_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int st_uvis25_i2c_probe(struct i2c_client *client)
{
struct regmap *regmap;
@@ -58,7 +57,7 @@ static struct i2c_driver st_uvis25_driver = {
.pm = pm_sleep_ptr(&st_uvis25_pm_ops),
.of_match_table = st_uvis25_i2c_of_match,
},
- .probe = st_uvis25_i2c_probe,
+ .probe_new = st_uvis25_i2c_probe,
.id_table = st_uvis25_i2c_id_table,
};
module_i2c_driver(st_uvis25_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 140/606] iio: light: stk3310: 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
` (90 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 139/606] iio: light: st_uvis25_i2c: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 141/606] iio: light: tcs3414: " Uwe Kleine-König
` (60 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Adrien Grassein, Benjamin Mugnier,
Maximilian Luz, Arnaud Ferraris
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/stk3310.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/stk3310.c b/drivers/iio/light/stk3310.c
index 7b8e0da6aabc..48ae6ff0015e 100644
--- a/drivers/iio/light/stk3310.c
+++ b/drivers/iio/light/stk3310.c
@@ -586,8 +586,7 @@ static irqreturn_t stk3310_irq_event_handler(int irq, void *private)
return IRQ_HANDLED;
}
-static int stk3310_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int stk3310_probe(struct i2c_client *client)
{
int ret;
struct iio_dev *indio_dev;
@@ -715,7 +714,7 @@ static struct i2c_driver stk3310_driver = {
.pm = pm_sleep_ptr(&stk3310_pm_ops),
.acpi_match_table = ACPI_PTR(stk3310_acpi_id),
},
- .probe = stk3310_probe,
+ .probe_new = stk3310_probe,
.remove = stk3310_remove,
.id_table = stk3310_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 141/606] iio: light: tcs3414: 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
` (91 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 140/606] iio: light: stk3310: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 142/606] iio: light: tcs3472: " Uwe Kleine-König
` (59 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tcs3414.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tcs3414.c b/drivers/iio/light/tcs3414.c
index 3951536022b3..5100732fbaf0 100644
--- a/drivers/iio/light/tcs3414.c
+++ b/drivers/iio/light/tcs3414.c
@@ -279,8 +279,7 @@ static void tcs3414_powerdown_cleanup(void *data)
tcs3414_powerdown(data);
}
-static int tcs3414_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tcs3414_probe(struct i2c_client *client)
{
struct tcs3414_data *data;
struct iio_dev *indio_dev;
@@ -374,7 +373,7 @@ static struct i2c_driver tcs3414_driver = {
.name = TCS3414_DRV_NAME,
.pm = pm_sleep_ptr(&tcs3414_pm_ops),
},
- .probe = tcs3414_probe,
+ .probe_new = tcs3414_probe,
.id_table = tcs3414_id,
};
module_i2c_driver(tcs3414_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 142/606] iio: light: tcs3472: 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
` (92 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 141/606] iio: light: tcs3414: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 143/606] iio: light: tsl2563: " Uwe Kleine-König
` (58 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jean Delvare, Marek Behún, Maximilian Luz
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tcs3472.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c
index db17fec634be..6187c5487916 100644
--- a/drivers/iio/light/tcs3472.c
+++ b/drivers/iio/light/tcs3472.c
@@ -442,8 +442,7 @@ static const struct iio_info tcs3472_info = {
.attrs = &tcs3472_attribute_group,
};
-static int tcs3472_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tcs3472_probe(struct i2c_client *client)
{
struct tcs3472_data *data;
struct iio_dev *indio_dev;
@@ -610,7 +609,7 @@ static struct i2c_driver tcs3472_driver = {
.name = TCS3472_DRV_NAME,
.pm = pm_sleep_ptr(&tcs3472_pm_ops),
},
- .probe = tcs3472_probe,
+ .probe_new = tcs3472_probe,
.remove = tcs3472_remove,
.id_table = tcs3472_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 143/606] iio: light: tsl2563: 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
` (93 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 142/606] iio: light: tcs3472: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 144/606] iio: light: tsl2583: " Uwe Kleine-König
` (57 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Tetsuo Handa, Peter Senna Tschudin,
Vladimir Oltean
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tsl2563.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tsl2563.c b/drivers/iio/light/tsl2563.c
index 951f35ef3f41..d0e42b73203a 100644
--- a/drivers/iio/light/tsl2563.c
+++ b/drivers/iio/light/tsl2563.c
@@ -699,8 +699,7 @@ static const struct iio_info tsl2563_info = {
.write_event_config = &tsl2563_write_interrupt_config,
};
-static int tsl2563_probe(struct i2c_client *client,
- const struct i2c_device_id *device_id)
+static int tsl2563_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct tsl2563_chip *chip;
@@ -880,7 +879,7 @@ static struct i2c_driver tsl2563_i2c_driver = {
.of_match_table = tsl2563_of_match,
.pm = pm_sleep_ptr(&tsl2563_pm_ops),
},
- .probe = tsl2563_probe,
+ .probe_new = tsl2563_probe,
.remove = tsl2563_remove,
.id_table = tsl2563_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 144/606] iio: light: tsl2583: 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
` (94 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 143/606] iio: light: tsl2563: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 145/606] iio: light: tsl2772: " Uwe Kleine-König
` (56 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Peter Senna Tschudin, Marek Behún,
Petr Machata, Shreeya Patel
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tsl2583.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tsl2583.c b/drivers/iio/light/tsl2583.c
index 7bcb5c718922..a05f1c0453d1 100644
--- a/drivers/iio/light/tsl2583.c
+++ b/drivers/iio/light/tsl2583.c
@@ -809,8 +809,7 @@ static const struct iio_info tsl2583_info = {
.write_raw = tsl2583_write_raw,
};
-static int tsl2583_probe(struct i2c_client *clientp,
- const struct i2c_device_id *idp)
+static int tsl2583_probe(struct i2c_client *clientp)
{
int ret;
struct tsl2583_chip *chip;
@@ -943,7 +942,7 @@ static struct i2c_driver tsl2583_driver = {
.of_match_table = tsl2583_of_match,
},
.id_table = tsl2583_idtable,
- .probe = tsl2583_probe,
+ .probe_new = tsl2583_probe,
.remove = tsl2583_remove,
};
module_i2c_driver(tsl2583_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 145/606] iio: light: tsl2772: 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
` (95 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 144/606] iio: light: tsl2583: " Uwe Kleine-König
@ 2022-11-18 22:37 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 146/606] iio: light: tsl4531: " Uwe Kleine-König
` (55 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:37 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Gwendal Grignou, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tsl2772.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tsl2772.c b/drivers/iio/light/tsl2772.c
index dd9051f1cc1a..ad50baa0202c 100644
--- a/drivers/iio/light/tsl2772.c
+++ b/drivers/iio/light/tsl2772.c
@@ -1750,9 +1750,9 @@ static const struct tsl2772_chip_info tsl2772_chip_info_tbl[] = {
},
};
-static int tsl2772_probe(struct i2c_client *clientp,
- const struct i2c_device_id *id)
+static int tsl2772_probe(struct i2c_client *clientp)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(clientp);
struct iio_dev *indio_dev;
struct tsl2772_chip *chip;
int ret;
@@ -1931,7 +1931,7 @@ static struct i2c_driver tsl2772_driver = {
.pm = &tsl2772_pm_ops,
},
.id_table = tsl2772_idtable,
- .probe = tsl2772_probe,
+ .probe_new = tsl2772_probe,
};
module_i2c_driver(tsl2772_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 146/606] iio: light: tsl4531: 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
` (96 preceding siblings ...)
2022-11-18 22:37 ` [PATCH 145/606] iio: light: tsl2772: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 147/606] iio: light: us5182d: " Uwe Kleine-König
` (54 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Hans Verkuil, Dmitry Torokhov,
Krzysztof Hałasa
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/tsl4531.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/tsl4531.c b/drivers/iio/light/tsl4531.c
index 090038fed889..d95397eb1526 100644
--- a/drivers/iio/light/tsl4531.c
+++ b/drivers/iio/light/tsl4531.c
@@ -160,8 +160,7 @@ static int tsl4531_check_id(struct i2c_client *client)
}
}
-static int tsl4531_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tsl4531_probe(struct i2c_client *client)
{
struct tsl4531_data *data;
struct iio_dev *indio_dev;
@@ -238,7 +237,7 @@ static struct i2c_driver tsl4531_driver = {
.name = TSL4531_DRV_NAME,
.pm = pm_sleep_ptr(&tsl4531_pm_ops),
},
- .probe = tsl4531_probe,
+ .probe_new = tsl4531_probe,
.remove = tsl4531_remove,
.id_table = tsl4531_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 147/606] iio: light: us5182d: 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
` (97 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 146/606] iio: light: tsl4531: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 148/606] iio: light: vcnl4000: " Uwe Kleine-König
` (53 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Krzysztof Hałasa, Peter Rosin,
Petr Machata
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/us5182d.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
index 3e652d7f3b0e..8b2a0c99c8e6 100644
--- a/drivers/iio/light/us5182d.c
+++ b/drivers/iio/light/us5182d.c
@@ -832,8 +832,7 @@ static irqreturn_t us5182d_irq_thread_handler(int irq, void *private)
return IRQ_HANDLED;
}
-static int us5182d_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int us5182d_probe(struct i2c_client *client)
{
struct us5182d_data *data;
struct iio_dev *indio_dev;
@@ -975,7 +974,7 @@ static struct i2c_driver us5182d_driver = {
.of_match_table = us5182d_of_match,
.acpi_match_table = ACPI_PTR(us5182d_acpi_match),
},
- .probe = us5182d_probe,
+ .probe_new = us5182d_probe,
.remove = us5182d_remove,
.id_table = us5182d_id,
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 148/606] iio: light: vcnl4000: 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
` (98 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 147/606] iio: light: us5182d: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 149/606] iio: light: vcnl4035: " Uwe Kleine-König
` (52 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Mårten Lindahl, Crt Mori, Maximilian Luz
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/vcnl4000.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c
index fdb3922ae4ac..cc1a2062e76d 100644
--- a/drivers/iio/light/vcnl4000.c
+++ b/drivers/iio/light/vcnl4000.c
@@ -1180,9 +1180,9 @@ static int vcnl4010_probe_trigger(struct iio_dev *indio_dev)
return devm_iio_trigger_register(&client->dev, trigger);
}
-static int vcnl4000_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int vcnl4000_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct vcnl4000_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -1326,7 +1326,7 @@ static struct i2c_driver vcnl4000_driver = {
.pm = pm_ptr(&vcnl4000_pm_ops),
.of_match_table = vcnl_4000_of_match,
},
- .probe = vcnl4000_probe,
+ .probe_new = vcnl4000_probe,
.id_table = vcnl4000_id,
.remove = vcnl4000_remove,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 149/606] iio: light: vcnl4035: 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
` (99 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 148/606] iio: light: vcnl4000: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 150/606] iio: light: veml6030: " Uwe Kleine-König
` (51 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Crt Mori, Petr Machata, Marek Behún
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/vcnl4035.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035.c
index 3ed37f6057fb..84148b944000 100644
--- a/drivers/iio/light/vcnl4035.c
+++ b/drivers/iio/light/vcnl4035.c
@@ -539,8 +539,7 @@ static int vcnl4035_probe_trigger(struct iio_dev *indio_dev)
return ret;
}
-static int vcnl4035_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int vcnl4035_probe(struct i2c_client *client)
{
struct vcnl4035_data *data;
struct iio_dev *indio_dev;
@@ -668,7 +667,7 @@ static struct i2c_driver vcnl4035_driver = {
.pm = pm_ptr(&vcnl4035_pm_ops),
.of_match_table = vcnl4035_of_match,
},
- .probe = vcnl4035_probe,
+ .probe_new = vcnl4035_probe,
.remove = vcnl4035_remove,
.id_table = vcnl4035_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 150/606] iio: light: veml6030: 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
` (100 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 149/606] iio: light: vcnl4035: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 151/606] iio: light: veml6070: " Uwe Kleine-König
` (50 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Paul Cercueil, Rishi Gupta
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/veml6030.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/veml6030.c b/drivers/iio/light/veml6030.c
index 9a7800cdfee2..e7d2d5d177d4 100644
--- a/drivers/iio/light/veml6030.c
+++ b/drivers/iio/light/veml6030.c
@@ -786,8 +786,7 @@ static int veml6030_hw_init(struct iio_dev *indio_dev)
return ret;
}
-static int veml6030_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int veml6030_probe(struct i2c_client *client)
{
int ret;
struct veml6030_data *data;
@@ -893,7 +892,7 @@ static struct i2c_driver veml6030_driver = {
.of_match_table = veml6030_of_match,
.pm = pm_ptr(&veml6030_pm_ops),
},
- .probe = veml6030_probe,
+ .probe_new = veml6030_probe,
.id_table = veml6030_id,
};
module_i2c_driver(veml6030_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 151/606] iio: light: veml6070: 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
` (101 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 150/606] iio: light: veml6030: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 152/606] iio: light: zopt2201: " Uwe Kleine-König
` (49 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Greg Kroah-Hartman, Vladimir Oltean,
Maximilian Luz, Crt Mori
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/veml6070.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/veml6070.c b/drivers/iio/light/veml6070.c
index cfa4e9e7c803..ee76a68deb24 100644
--- a/drivers/iio/light/veml6070.c
+++ b/drivers/iio/light/veml6070.c
@@ -135,8 +135,7 @@ static const struct iio_info veml6070_info = {
.read_raw = veml6070_read_raw,
};
-static int veml6070_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int veml6070_probe(struct i2c_client *client)
{
struct veml6070_data *data;
struct iio_dev *indio_dev;
@@ -199,7 +198,7 @@ static struct i2c_driver veml6070_driver = {
.driver = {
.name = VEML6070_DRV_NAME,
},
- .probe = veml6070_probe,
+ .probe_new = veml6070_probe,
.remove = veml6070_remove,
.id_table = veml6070_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 152/606] iio: light: zopt2201: 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
` (102 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 151/606] iio: light: veml6070: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 153/606] iio: magnetometer: ak8974: " Uwe Kleine-König
` (48 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/light/zopt2201.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/zopt2201.c b/drivers/iio/light/zopt2201.c
index e0bc9df9c88b..e3bac8b56380 100644
--- a/drivers/iio/light/zopt2201.c
+++ b/drivers/iio/light/zopt2201.c
@@ -501,8 +501,7 @@ static const struct iio_info zopt2201_info = {
.attrs = &zopt2201_attribute_group,
};
-static int zopt2201_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int zopt2201_probe(struct i2c_client *client)
{
struct zopt2201_data *data;
struct iio_dev *indio_dev;
@@ -555,7 +554,7 @@ static struct i2c_driver zopt2201_driver = {
.driver = {
.name = ZOPT2201_DRV_NAME,
},
- .probe = zopt2201_probe,
+ .probe_new = zopt2201_probe,
.id_table = zopt2201_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 153/606] iio: magnetometer: ak8974: 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
` (103 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 152/606] iio: light: zopt2201: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 154/606] iio: magnetometer: ak8975: " Uwe Kleine-König
` (47 subsequent siblings)
152 siblings, 0 replies; 179+ 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, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/ak8974.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c
index 7ec9ab3beb45..45abdcce6bc0 100644
--- a/drivers/iio/magnetometer/ak8974.c
+++ b/drivers/iio/magnetometer/ak8974.c
@@ -814,8 +814,7 @@ static const struct regmap_config ak8974_regmap_config = {
.precious_reg = ak8974_precious_reg,
};
-static int ak8974_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int ak8974_probe(struct i2c_client *i2c)
{
struct iio_dev *indio_dev;
struct ak8974 *ak8974;
@@ -1047,7 +1046,7 @@ static struct i2c_driver ak8974_driver = {
.pm = pm_ptr(&ak8974_dev_pm_ops),
.of_match_table = ak8974_of_match,
},
- .probe = ak8974_probe,
+ .probe_new = ak8974_probe,
.remove = ak8974_remove,
.id_table = ak8974_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 154/606] iio: magnetometer: ak8975: 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
` (104 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 153/606] iio: magnetometer: ak8974: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 155/606] iio: magnetometer: bmc150_magn_i2c: " Uwe Kleine-König
` (46 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Nathan Chancellor, Vladimir Oltean,
Benjamin Mugnier, Zheyu Ma
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/ak8975.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c
index caf03a2a98a5..924b481a3034 100644
--- a/drivers/iio/magnetometer/ak8975.c
+++ b/drivers/iio/magnetometer/ak8975.c
@@ -876,9 +876,9 @@ static irqreturn_t ak8975_handle_trigger(int irq, void *p)
return IRQ_HANDLED;
}
-static int ak8975_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ak8975_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ak8975_data *data;
struct iio_dev *indio_dev;
struct gpio_desc *eoc_gpiod;
@@ -1110,7 +1110,7 @@ static struct i2c_driver ak8975_driver = {
.of_match_table = ak8975_of_match,
.acpi_match_table = ak_acpi_match,
},
- .probe = ak8975_probe,
+ .probe_new = ak8975_probe,
.remove = ak8975_remove,
.id_table = ak8975_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 155/606] iio: magnetometer: bmc150_magn_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
` (105 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 154/606] iio: magnetometer: ak8975: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 156/606] iio: magnetometer: hmc5843: " Uwe Kleine-König
` (45 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Dmitry Torokhov, Petr Machata
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/bmc150_magn_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/bmc150_magn_i2c.c b/drivers/iio/magnetometer/bmc150_magn_i2c.c
index 570deaa87836..44b8960eea17 100644
--- a/drivers/iio/magnetometer/bmc150_magn_i2c.c
+++ b/drivers/iio/magnetometer/bmc150_magn_i2c.c
@@ -16,9 +16,9 @@
#include "bmc150_magn.h"
-static int bmc150_magn_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int bmc150_magn_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const char *name = NULL;
@@ -71,7 +71,7 @@ static struct i2c_driver bmc150_magn_driver = {
.acpi_match_table = ACPI_PTR(bmc150_magn_acpi_match),
.pm = &bmc150_magn_pm_ops,
},
- .probe = bmc150_magn_i2c_probe,
+ .probe_new = bmc150_magn_i2c_probe,
.remove = bmc150_magn_i2c_remove,
.id_table = bmc150_magn_i2c_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 156/606] iio: magnetometer: hmc5843: 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
` (106 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 155/606] iio: magnetometer: bmc150_magn_i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 157/606] iio: magnetometer: mag3110: " Uwe Kleine-König
` (44 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Benjamin Mugnier,
Luca Ceresoli
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/hmc5843_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/hmc5843_i2c.c b/drivers/iio/magnetometer/hmc5843_i2c.c
index 18a13dd51296..7ef2b1d56289 100644
--- a/drivers/iio/magnetometer/hmc5843_i2c.c
+++ b/drivers/iio/magnetometer/hmc5843_i2c.c
@@ -52,9 +52,9 @@ static const struct regmap_config hmc5843_i2c_regmap_config = {
.cache_type = REGCACHE_RBTREE,
};
-static int hmc5843_i2c_probe(struct i2c_client *cli,
- const struct i2c_device_id *id)
+static int hmc5843_i2c_probe(struct i2c_client *cli)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(cli);
struct regmap *regmap = devm_regmap_init_i2c(cli,
&hmc5843_i2c_regmap_config);
if (IS_ERR(regmap))
@@ -95,7 +95,7 @@ static struct i2c_driver hmc5843_driver = {
.of_match_table = hmc5843_of_match,
},
.id_table = hmc5843_id,
- .probe = hmc5843_i2c_probe,
+ .probe_new = hmc5843_i2c_probe,
.remove = hmc5843_i2c_remove,
};
module_i2c_driver(hmc5843_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 157/606] iio: magnetometer: mag3110: 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
` (107 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 156/606] iio: magnetometer: hmc5843: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 158/606] iio: magnetometer: mmc35240: " Uwe Kleine-König
` (43 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Greg Kroah-Hartman, Petr Machata,
Javier Martinez Canillas
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/mag3110.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/mag3110.c b/drivers/iio/magnetometer/mag3110.c
index b870ad803862..661176a885ad 100644
--- a/drivers/iio/magnetometer/mag3110.c
+++ b/drivers/iio/magnetometer/mag3110.c
@@ -469,9 +469,9 @@ static const struct iio_info mag3110_info = {
static const unsigned long mag3110_scan_masks[] = {0x7, 0xf, 0};
-static int mag3110_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mag3110_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mag3110_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -641,7 +641,7 @@ static struct i2c_driver mag3110_driver = {
.of_match_table = mag3110_of_match,
.pm = pm_sleep_ptr(&mag3110_pm_ops),
},
- .probe = mag3110_probe,
+ .probe_new = mag3110_probe,
.remove = mag3110_remove,
.id_table = mag3110_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 158/606] iio: magnetometer: mmc35240: 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
` (108 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 157/606] iio: magnetometer: mag3110: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 159/606] iio: magnetometer: yamaha-yas530: " Uwe Kleine-König
` (42 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/mmc35240.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c b/drivers/iio/magnetometer/mmc35240.c
index 186edfcda0b7..756dadbad106 100644
--- a/drivers/iio/magnetometer/mmc35240.c
+++ b/drivers/iio/magnetometer/mmc35240.c
@@ -481,8 +481,7 @@ static const struct regmap_config mmc35240_regmap_config = {
.num_reg_defaults = ARRAY_SIZE(mmc35240_reg_defaults),
};
-static int mmc35240_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mmc35240_probe(struct i2c_client *client)
{
struct mmc35240_data *data;
struct iio_dev *indio_dev;
@@ -576,7 +575,7 @@ static struct i2c_driver mmc35240_driver = {
.pm = pm_sleep_ptr(&mmc35240_pm_ops),
.acpi_match_table = ACPI_PTR(mmc35240_acpi_match),
},
- .probe = mmc35240_probe,
+ .probe_new = mmc35240_probe,
.id_table = mmc35240_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 159/606] iio: magnetometer: yamaha-yas530: 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
` (109 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 158/606] iio: magnetometer: mmc35240: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 160/606] iio: potentiometer: ad5272: " Uwe Kleine-König
` (41 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Linus Walleij, Andy Shevchenko, Jakob Hauser
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/magnetometer/yamaha-yas530.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/magnetometer/yamaha-yas530.c b/drivers/iio/magnetometer/yamaha-yas530.c
index 801c760feb4d..753717158b07 100644
--- a/drivers/iio/magnetometer/yamaha-yas530.c
+++ b/drivers/iio/magnetometer/yamaha-yas530.c
@@ -1384,9 +1384,9 @@ static const struct yas5xx_chip_info yas5xx_chip_info_tbl[] = {
},
};
-static int yas5xx_probe(struct i2c_client *i2c,
- const struct i2c_device_id *id)
+static int yas5xx_probe(struct i2c_client *i2c)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
struct iio_dev *indio_dev;
struct device *dev = &i2c->dev;
struct yas5xx *yas5xx;
@@ -1605,7 +1605,7 @@ static struct i2c_driver yas5xx_driver = {
.of_match_table = yas5xx_of_match,
.pm = pm_ptr(&yas5xx_dev_pm_ops),
},
- .probe = yas5xx_probe,
+ .probe_new = yas5xx_probe,
.remove = yas5xx_remove,
.id_table = yas5xx_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 160/606] iio: potentiometer: ad5272: 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
` (110 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 159/606] iio: magnetometer: yamaha-yas530: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 161/606] iio: potentiometer: ds1803: " Uwe Kleine-König
` (40 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio, 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/iio/potentiometer/ad5272.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/potentiometer/ad5272.c b/drivers/iio/potentiometer/ad5272.c
index ed5fc0b50fe9..aa140d632101 100644
--- a/drivers/iio/potentiometer/ad5272.c
+++ b/drivers/iio/potentiometer/ad5272.c
@@ -158,9 +158,9 @@ static int ad5272_reset(struct ad5272_data *data)
return 0;
}
-static int ad5272_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad5272_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
struct ad5272_data *data;
@@ -218,7 +218,7 @@ static struct i2c_driver ad5272_driver = {
.name = "ad5272",
.of_match_table = ad5272_dt_ids,
},
- .probe = ad5272_probe,
+ .probe_new = ad5272_probe,
.id_table = ad5272_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 161/606] iio: potentiometer: ds1803: 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
` (111 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 160/606] iio: potentiometer: ad5272: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 162/606] iio: potentiometer: max5432: " Uwe Kleine-König
` (39 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Jagath Jog J, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/potentiometer/ds1803.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c
index 5c212ed7a931..0b5e475807cb 100644
--- a/drivers/iio/potentiometer/ds1803.c
+++ b/drivers/iio/potentiometer/ds1803.c
@@ -202,8 +202,9 @@ static const struct iio_info ds1803_info = {
.read_avail = ds1803_read_avail,
};
-static int ds1803_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int ds1803_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct ds1803_data *data;
struct iio_dev *indio_dev;
@@ -251,7 +252,7 @@ static struct i2c_driver ds1803_driver = {
.name = "ds1803",
.of_match_table = ds1803_dt_ids,
},
- .probe = ds1803_probe,
+ .probe_new = ds1803_probe,
.id_table = ds1803_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 162/606] iio: potentiometer: max5432: 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
` (112 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 161/606] iio: potentiometer: ds1803: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 163/606] iio: potentiometer: tpl0102: " Uwe Kleine-König
` (38 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/potentiometer/max5432.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/potentiometer/max5432.c b/drivers/iio/potentiometer/max5432.c
index aed3b6ab82a2..94ef27ef3fb5 100644
--- a/drivers/iio/potentiometer/max5432.c
+++ b/drivers/iio/potentiometer/max5432.c
@@ -85,8 +85,7 @@ static const struct iio_info max5432_info = {
.write_raw = max5432_write_raw,
};
-static int max5432_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max5432_probe(struct i2c_client *client)
{
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
@@ -124,7 +123,7 @@ static struct i2c_driver max5432_driver = {
.name = "max5432",
.of_match_table = max5432_dt_ids,
},
- .probe = max5432_probe,
+ .probe_new = max5432_probe,
};
module_i2c_driver(max5432_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 163/606] iio: potentiometer: tpl0102: 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
` (113 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 162/606] iio: potentiometer: max5432: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 164/606] iio: potentiostat: lmp91000: " Uwe Kleine-König
` (37 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/potentiometer/tpl0102.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/potentiometer/tpl0102.c b/drivers/iio/potentiometer/tpl0102.c
index d996dc367fb7..a3465b413b0c 100644
--- a/drivers/iio/potentiometer/tpl0102.c
+++ b/drivers/iio/potentiometer/tpl0102.c
@@ -120,9 +120,9 @@ static const struct iio_info tpl0102_info = {
.write_raw = tpl0102_write_raw,
};
-static int tpl0102_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tpl0102_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct tpl0102_data *data;
struct iio_dev *indio_dev;
@@ -161,7 +161,7 @@ static struct i2c_driver tpl0102_driver = {
.driver = {
.name = "tpl0102",
},
- .probe = tpl0102_probe,
+ .probe_new = tpl0102_probe,
.id_table = tpl0102_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 164/606] iio: potentiostat: lmp91000: 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
` (114 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 163/606] iio: potentiometer: tpl0102: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 165/606] iio: pressure: abp060mg: " Uwe Kleine-König
` (36 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Hans Verkuil, Heikki Krogerus, Vladimir Oltean,
Sebastian Reichel
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/potentiostat/lmp91000.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c
index 5ec7060d31d9..b82f093f1e6a 100644
--- a/drivers/iio/potentiostat/lmp91000.c
+++ b/drivers/iio/potentiostat/lmp91000.c
@@ -292,8 +292,7 @@ static const struct iio_buffer_setup_ops lmp91000_buffer_setup_ops = {
.predisable = lmp91000_buffer_predisable,
};
-static int lmp91000_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int lmp91000_probe(struct i2c_client *client)
{
struct device *dev = &client->dev;
struct lmp91000_data *data;
@@ -417,7 +416,7 @@ static struct i2c_driver lmp91000_driver = {
.name = LMP91000_DRV_NAME,
.of_match_table = lmp91000_of_match,
},
- .probe = lmp91000_probe,
+ .probe_new = lmp91000_probe,
.remove = lmp91000_remove,
.id_table = lmp91000_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 165/606] iio: pressure: abp060mg: 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
` (115 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 164/606] iio: potentiostat: lmp91000: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 166/606] iio: pressure: bmp280-i2c: " Uwe Kleine-König
` (35 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/abp060mg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/abp060mg.c b/drivers/iio/pressure/abp060mg.c
index e1c3bdb371ee..c0140779366a 100644
--- a/drivers/iio/pressure/abp060mg.c
+++ b/drivers/iio/pressure/abp060mg.c
@@ -174,9 +174,9 @@ static void abp060mg_init_device(struct iio_dev *indio_dev, unsigned long id)
state->offset -= ABP060MG_NUM_COUNTS >> 1;
}
-static int abp060mg_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int abp060mg_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct abp_state *state;
unsigned long cfg_id = id->driver_data;
@@ -255,7 +255,7 @@ static struct i2c_driver abp060mg_driver = {
.driver = {
.name = "abp060mg",
},
- .probe = abp060mg_probe,
+ .probe_new = abp060mg_probe,
.id_table = abp060mg_id_table,
};
module_i2c_driver(abp060mg_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 166/606] iio: pressure: bmp280-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
` (116 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 165/606] iio: pressure: abp060mg: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-21 10:16 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 167/606] iio: pressure: dlhl60d: " Uwe Kleine-König
` (34 subsequent siblings)
152 siblings, 1 reply; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Rafael J. Wysocki,
Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/bmp280-i2c.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/pressure/bmp280-i2c.c b/drivers/iio/pressure/bmp280-i2c.c
index 14eab086d24a..4da014b158c8 100644
--- a/drivers/iio/pressure/bmp280-i2c.c
+++ b/drivers/iio/pressure/bmp280-i2c.c
@@ -7,6 +7,7 @@
static int bmp280_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct regmap *regmap;
const struct regmap_config *regmap_config;
const struct i2c_device_id *id = i2c_client_get_device_id(client);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 167/606] iio: pressure: dlhl60d: 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
` (117 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 166/606] iio: pressure: bmp280-i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 168/606] iio: pressure: dps310: " Uwe Kleine-König
` (33 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Nuno Sá
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/dlhl60d.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/dlhl60d.c b/drivers/iio/pressure/dlhl60d.c
index f0b0d198c6d4..43650b048d62 100644
--- a/drivers/iio/pressure/dlhl60d.c
+++ b/drivers/iio/pressure/dlhl60d.c
@@ -282,9 +282,9 @@ static irqreturn_t dlh_interrupt(int irq, void *private)
return IRQ_HANDLED;
};
-static int dlh_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int dlh_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct dlh_state *st;
struct iio_dev *indio_dev;
int ret;
@@ -362,7 +362,7 @@ static struct i2c_driver dlh_driver = {
.name = "dlhl60d",
.of_match_table = dlh_of_match,
},
- .probe = dlh_probe,
+ .probe_new = dlh_probe,
.id_table = dlh_id,
};
module_i2c_driver(dlh_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 168/606] iio: pressure: dps310: 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
` (118 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 167/606] iio: pressure: dlhl60d: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 169/606] iio: pressure: hp03: " Uwe Kleine-König
` (32 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Eddie James, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/dps310.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/dps310.c b/drivers/iio/pressure/dps310.c
index 984a3f511a1a..2af275a24ff9 100644
--- a/drivers/iio/pressure/dps310.c
+++ b/drivers/iio/pressure/dps310.c
@@ -827,9 +827,9 @@ static const struct iio_info dps310_info = {
.write_raw = dps310_write_raw,
};
-static int dps310_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int dps310_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct dps310_data *data;
struct iio_dev *iio;
int rc;
@@ -887,7 +887,7 @@ static struct i2c_driver dps310_driver = {
.name = DPS310_DEV_NAME,
.acpi_match_table = dps310_acpi_match,
},
- .probe = dps310_probe,
+ .probe_new = dps310_probe,
.id_table = dps310_id,
};
module_i2c_driver(dps310_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 169/606] iio: pressure: hp03: 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
` (119 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 168/606] iio: pressure: dps310: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 170/606] iio: pressure: hp206c: " Uwe Kleine-König
` (31 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/hp03.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/hp03.c b/drivers/iio/pressure/hp03.c
index 9538118c9648..bd1f71a99cfa 100644
--- a/drivers/iio/pressure/hp03.c
+++ b/drivers/iio/pressure/hp03.c
@@ -208,9 +208,9 @@ static const struct iio_info hp03_info = {
.read_raw = &hp03_read_raw,
};
-static int hp03_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int hp03_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct device *dev = &client->dev;
struct iio_dev *indio_dev;
struct hp03_priv *priv;
@@ -282,7 +282,7 @@ static struct i2c_driver hp03_driver = {
.name = "hp03",
.of_match_table = hp03_of_match,
},
- .probe = hp03_probe,
+ .probe_new = hp03_probe,
.id_table = hp03_id,
};
module_i2c_driver(hp03_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 170/606] iio: pressure: hp206c: 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
` (120 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 169/606] iio: pressure: hp03: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 171/606] iio: pressure: icp10100: " Uwe Kleine-König
` (30 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/hp206c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/hp206c.c b/drivers/iio/pressure/hp206c.c
index 986b7a59712e..b6d2ff464341 100644
--- a/drivers/iio/pressure/hp206c.c
+++ b/drivers/iio/pressure/hp206c.c
@@ -352,9 +352,9 @@ static const struct iio_info hp206c_info = {
.write_raw = hp206c_write_raw,
};
-static int hp206c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int hp206c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct hp206c_data *data;
int ret;
@@ -409,7 +409,7 @@ MODULE_DEVICE_TABLE(acpi, hp206c_acpi_match);
#endif
static struct i2c_driver hp206c_driver = {
- .probe = hp206c_probe,
+ .probe_new = hp206c_probe,
.id_table = hp206c_id,
.driver = {
.name = "hp206c",
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 171/606] iio: pressure: icp10100: 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
` (121 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 170/606] iio: pressure: hp206c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-22 10:07 ` Jean-Baptiste Maneyrol
2022-11-18 22:38 ` [PATCH 172/606] iio: pressure: mpl115_i2c: " Uwe Kleine-König
` (29 subsequent siblings)
152 siblings, 1 reply; 179+ 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,
Jonathan Cameron, Jean-Baptiste Maneyrol
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/icp10100.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/icp10100.c b/drivers/iio/pressure/icp10100.c
index b62f28585db5..407cf25ea0e3 100644
--- a/drivers/iio/pressure/icp10100.c
+++ b/drivers/iio/pressure/icp10100.c
@@ -530,8 +530,7 @@ static void icp10100_pm_disable(void *data)
pm_runtime_disable(dev);
}
-static int icp10100_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int icp10100_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct icp10100_state *st;
@@ -649,7 +648,7 @@ static struct i2c_driver icp10100_driver = {
.pm = pm_ptr(&icp10100_pm),
.of_match_table = icp10100_of_match,
},
- .probe = icp10100_probe,
+ .probe_new = icp10100_probe,
.id_table = icp10100_id,
};
module_i2c_driver(icp10100_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 172/606] iio: pressure: mpl115_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
` (122 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 171/606] iio: pressure: icp10100: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 173/606] iio: pressure: mpl3115: " Uwe Kleine-König
` (28 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Rajat Khandelwal
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/mpl115_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/mpl115_i2c.c b/drivers/iio/pressure/mpl115_i2c.c
index 555bda1146fb..ade4dd854ddf 100644
--- a/drivers/iio/pressure/mpl115_i2c.c
+++ b/drivers/iio/pressure/mpl115_i2c.c
@@ -35,9 +35,9 @@ static const struct mpl115_ops mpl115_i2c_ops = {
.write = mpl115_i2c_write,
};
-static int mpl115_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mpl115_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
return -EOPNOTSUPP;
@@ -55,7 +55,7 @@ static struct i2c_driver mpl115_i2c_driver = {
.name = "mpl115",
.pm = pm_ptr(&mpl115_dev_pm_ops),
},
- .probe = mpl115_i2c_probe,
+ .probe_new = mpl115_i2c_probe,
.id_table = mpl115_i2c_id,
};
module_i2c_driver(mpl115_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 173/606] iio: pressure: mpl3115: 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
` (123 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 172/606] iio: pressure: mpl115_i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 174/606] iio: pressure: ms5611_i2c: " Uwe Kleine-König
` (27 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Krzysztof Hałasa, Peter Rosin,
Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/mpl3115.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
index 2f22aba61e4d..72e811a5c96e 100644
--- a/drivers/iio/pressure/mpl3115.c
+++ b/drivers/iio/pressure/mpl3115.c
@@ -230,9 +230,9 @@ static const struct iio_info mpl3115_info = {
.read_raw = &mpl3115_read_raw,
};
-static int mpl3115_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mpl3115_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mpl3115_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -335,7 +335,7 @@ static struct i2c_driver mpl3115_driver = {
.of_match_table = mpl3115_of_match,
.pm = pm_sleep_ptr(&mpl3115_pm_ops),
},
- .probe = mpl3115_probe,
+ .probe_new = mpl3115_probe,
.remove = mpl3115_remove,
.id_table = mpl3115_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 174/606] iio: pressure: ms5611_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
` (124 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 173/606] iio: pressure: mpl3115: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 175/606] iio: pressure: ms5637: " Uwe Kleine-König
` (26 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Adrien Grassein,
Dmitry Torokhov
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/ms5611_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/ms5611_i2c.c b/drivers/iio/pressure/ms5611_i2c.c
index b681a4183909..caf882497656 100644
--- a/drivers/iio/pressure/ms5611_i2c.c
+++ b/drivers/iio/pressure/ms5611_i2c.c
@@ -79,9 +79,9 @@ static int ms5611_i2c_read_adc_temp_and_pressure(struct ms5611_state *st,
return ms5611_i2c_read_adc(st, pressure);
}
-static int ms5611_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ms5611_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ms5611_state *st;
struct iio_dev *indio_dev;
@@ -130,7 +130,7 @@ static struct i2c_driver ms5611_driver = {
.of_match_table = ms5611_i2c_matches,
},
.id_table = ms5611_id,
- .probe = ms5611_i2c_probe,
+ .probe_new = ms5611_i2c_probe,
.remove = ms5611_i2c_remove,
};
module_i2c_driver(ms5611_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 175/606] iio: pressure: ms5637: 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
` (125 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 174/606] iio: pressure: ms5611_i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 176/606] iio: pressure: st_pressure_i2c: " Uwe Kleine-König
` (25 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/ms5637.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/ms5637.c b/drivers/iio/pressure/ms5637.c
index 70c70019142a..c4981b29dccb 100644
--- a/drivers/iio/pressure/ms5637.c
+++ b/drivers/iio/pressure/ms5637.c
@@ -142,9 +142,9 @@ static const struct iio_info ms5637_info = {
.attrs = &ms5637_attribute_group,
};
-static int ms5637_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ms5637_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const struct ms_tp_data *data;
struct ms_tp_dev *dev_data;
struct iio_dev *indio_dev;
@@ -238,7 +238,7 @@ static const struct of_device_id ms5637_of_match[] = {
MODULE_DEVICE_TABLE(of, ms5637_of_match);
static struct i2c_driver ms5637_driver = {
- .probe = ms5637_probe,
+ .probe_new = ms5637_probe,
.id_table = ms5637_id,
.driver = {
.name = "ms5637",
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 176/606] iio: pressure: st_pressure_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
` (126 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 175/606] iio: pressure: ms5637: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 177/606] iio: pressure: t5403: " Uwe Kleine-König
` (24 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Martyn Welch
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/st_pressure_i2c.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/st_pressure_i2c.c b/drivers/iio/pressure/st_pressure_i2c.c
index 58fede861891..f2c3bb568d16 100644
--- a/drivers/iio/pressure/st_pressure_i2c.c
+++ b/drivers/iio/pressure/st_pressure_i2c.c
@@ -76,8 +76,7 @@ static const struct i2c_device_id st_press_id_table[] = {
};
MODULE_DEVICE_TABLE(i2c, st_press_id_table);
-static int st_press_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int st_press_i2c_probe(struct i2c_client *client)
{
const struct st_sensor_settings *settings;
struct st_sensor_data *press_data;
@@ -117,7 +116,7 @@ static struct i2c_driver st_press_driver = {
.of_match_table = st_press_of_match,
.acpi_match_table = ACPI_PTR(st_press_acpi_match),
},
- .probe = st_press_i2c_probe,
+ .probe_new = st_press_i2c_probe,
.id_table = st_press_id_table,
};
module_i2c_driver(st_press_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 177/606] iio: pressure: t5403: 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
` (127 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 176/606] iio: pressure: st_pressure_i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 178/606] iio: pressure: zpa2326_i2c: " Uwe Kleine-König
` (23 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/t5403.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/t5403.c b/drivers/iio/pressure/t5403.c
index 685fcf65334f..2fbf14aff033 100644
--- a/drivers/iio/pressure/t5403.c
+++ b/drivers/iio/pressure/t5403.c
@@ -208,9 +208,9 @@ static const struct iio_info t5403_info = {
.attrs = &t5403_attribute_group,
};
-static int t5403_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int t5403_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct t5403_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -260,7 +260,7 @@ static struct i2c_driver t5403_driver = {
.driver = {
.name = "t5403",
},
- .probe = t5403_probe,
+ .probe_new = t5403_probe,
.id_table = t5403_id,
};
module_i2c_driver(t5403_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 178/606] iio: pressure: zpa2326_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
` (128 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 177/606] iio: pressure: t5403: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 179/606] iio: proximity: isl29501: " Uwe Kleine-König
` (22 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko, Marek Behún, Jeremy Kerr
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/pressure/zpa2326_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/zpa2326_i2c.c b/drivers/iio/pressure/zpa2326_i2c.c
index f26dd8cbb387..ade465014be1 100644
--- a/drivers/iio/pressure/zpa2326_i2c.c
+++ b/drivers/iio/pressure/zpa2326_i2c.c
@@ -38,9 +38,9 @@ static unsigned int zpa2326_i2c_hwid(const struct i2c_client *client)
(ZPA2326_SA0(client->addr) << ZPA2326_DEVICE_ID_SA0_SHIFT));
}
-static int zpa2326_probe_i2c(struct i2c_client *client,
- const struct i2c_device_id *i2c_id)
+static int zpa2326_probe_i2c(struct i2c_client *client)
{
+ const struct i2c_device_id *i2c_id = i2c_client_get_device_id(client);
struct regmap *regmap;
regmap = devm_regmap_init_i2c(client, &zpa2326_regmap_i2c_config);
@@ -76,7 +76,7 @@ static struct i2c_driver zpa2326_i2c_driver = {
.of_match_table = zpa2326_i2c_matches,
.pm = ZPA2326_PM_OPS,
},
- .probe = zpa2326_probe_i2c,
+ .probe_new = zpa2326_probe_i2c,
.remove = zpa2326_remove_i2c,
.id_table = zpa2326_i2c_ids,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 179/606] iio: proximity: isl29501: 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
` (129 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 178/606] iio: pressure: zpa2326_i2c: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 180/606] iio: proximity: mb1232: " Uwe Kleine-König
` (21 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/isl29501.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/isl29501.c b/drivers/iio/proximity/isl29501.c
index 5b6ea783795d..7b8f40b7ccf3 100644
--- a/drivers/iio/proximity/isl29501.c
+++ b/drivers/iio/proximity/isl29501.c
@@ -949,8 +949,7 @@ static irqreturn_t isl29501_trigger_handler(int irq, void *p)
return IRQ_HANDLED;
}
-static int isl29501_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int isl29501_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct isl29501_private *isl29501;
@@ -1009,7 +1008,7 @@ static struct i2c_driver isl29501_driver = {
.name = "isl29501",
},
.id_table = isl29501_id,
- .probe = isl29501_probe,
+ .probe_new = isl29501_probe,
};
module_i2c_driver(isl29501_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 180/606] iio: proximity: mb1232: 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
` (130 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 179/606] iio: proximity: isl29501: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 181/606] iio: proximity: pulsedlight-lidar-lite-v2: " Uwe Kleine-König
` (20 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Andreas Klinger, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/mb1232.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/mb1232.c b/drivers/iio/proximity/mb1232.c
index 0bca5f74de68..e70cac8240af 100644
--- a/drivers/iio/proximity/mb1232.c
+++ b/drivers/iio/proximity/mb1232.c
@@ -180,9 +180,9 @@ static const struct iio_info mb1232_info = {
.read_raw = mb1232_read_raw,
};
-static int mb1232_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mb1232_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct mb1232_data *data;
int ret;
@@ -264,7 +264,7 @@ static struct i2c_driver mb1232_driver = {
.name = "maxbotix-mb1232",
.of_match_table = of_mb1232_match,
},
- .probe = mb1232_probe,
+ .probe_new = mb1232_probe,
.id_table = mb1232_id,
};
module_i2c_driver(mb1232_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 181/606] iio: proximity: pulsedlight-lidar-lite-v2: 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
` (131 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 180/606] iio: proximity: mb1232: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 182/606] iio: proximity: rfd77402: " Uwe Kleine-König
` (19 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Marek Behún, Ajay Gupta, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/pulsedlight-lidar-lite-v2.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
index 791a33d5286c..c9eead01a031 100644
--- a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
+++ b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
@@ -253,8 +253,7 @@ static const struct iio_info lidar_info = {
.read_raw = lidar_read_raw,
};
-static int lidar_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int lidar_probe(struct i2c_client *client)
{
struct lidar_data *data;
struct iio_dev *indio_dev;
@@ -366,7 +365,7 @@ static struct i2c_driver lidar_driver = {
.of_match_table = lidar_dt_ids,
.pm = pm_ptr(&lidar_pm_ops),
},
- .probe = lidar_probe,
+ .probe_new = lidar_probe,
.remove = lidar_remove,
.id_table = lidar_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 182/606] iio: proximity: rfd77402: 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
` (132 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 181/606] iio: proximity: pulsedlight-lidar-lite-v2: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 183/606] iio: proximity: srf08: " Uwe Kleine-König
` (18 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Gwendal Grignou, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/rfd77402.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/rfd77402.c b/drivers/iio/proximity/rfd77402.c
index cb80b3c9d073..44f72b78bd50 100644
--- a/drivers/iio/proximity/rfd77402.c
+++ b/drivers/iio/proximity/rfd77402.c
@@ -257,8 +257,7 @@ static void rfd77402_disable(void *client)
rfd77402_powerdown(client);
}
-static int rfd77402_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int rfd77402_probe(struct i2c_client *client)
{
struct rfd77402_data *data;
struct iio_dev *indio_dev;
@@ -319,7 +318,7 @@ static struct i2c_driver rfd77402_driver = {
.name = RFD77402_DRV_NAME,
.pm = pm_sleep_ptr(&rfd77402_pm_ops),
},
- .probe = rfd77402_probe,
+ .probe_new = rfd77402_probe,
.id_table = rfd77402_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 183/606] iio: proximity: srf08: 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
` (133 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 182/606] iio: proximity: rfd77402: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 184/606] iio: proximity: sx9500: " Uwe Kleine-König
` (17 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Andreas Klinger, Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/srf08.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c
index 7ed11339c31e..61866d0440f7 100644
--- a/drivers/iio/proximity/srf08.c
+++ b/drivers/iio/proximity/srf08.c
@@ -443,9 +443,9 @@ static const struct iio_info srf02_info = {
.read_raw = srf08_read_raw,
};
-static int srf08_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int srf08_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct srf08_data *data;
int ret;
@@ -549,7 +549,7 @@ static struct i2c_driver srf08_driver = {
.name = "srf08",
.of_match_table = of_srf08_match,
},
- .probe = srf08_probe,
+ .probe_new = srf08_probe,
.id_table = srf08_id,
};
module_i2c_driver(srf08_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 184/606] iio: proximity: sx9500: 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
` (134 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 183/606] iio: proximity: srf08: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 185/606] iio: temperature: mlx90614: " Uwe Kleine-König
` (16 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Petr Machata, Miguel Ojeda, Gwendal Grignou
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/proximity/sx9500.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/proximity/sx9500.c b/drivers/iio/proximity/sx9500.c
index d4670864ddc7..8794e75e5bf9 100644
--- a/drivers/iio/proximity/sx9500.c
+++ b/drivers/iio/proximity/sx9500.c
@@ -901,8 +901,7 @@ static void sx9500_gpio_probe(struct i2c_client *client,
}
}
-static int sx9500_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int sx9500_probe(struct i2c_client *client)
{
int ret;
struct iio_dev *indio_dev;
@@ -1056,7 +1055,7 @@ static struct i2c_driver sx9500_driver = {
.of_match_table = of_match_ptr(sx9500_of_match),
.pm = pm_sleep_ptr(&sx9500_pm_ops),
},
- .probe = sx9500_probe,
+ .probe_new = sx9500_probe,
.remove = sx9500_remove,
.id_table = sx9500_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 185/606] iio: temperature: mlx90614: 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
` (135 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 184/606] iio: proximity: sx9500: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 23:03 ` Crt Mori
2022-11-18 22:38 ` [PATCH 186/606] iio: temperature: mlx90632: " Uwe Kleine-König
` (15 subsequent siblings)
152 siblings, 1 reply; 179+ 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, Crt Mori,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/mlx90614.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/temperature/mlx90614.c b/drivers/iio/temperature/mlx90614.c
index 8eb0f962ed25..909fadb62349 100644
--- a/drivers/iio/temperature/mlx90614.c
+++ b/drivers/iio/temperature/mlx90614.c
@@ -537,9 +537,9 @@ static int mlx90614_probe_num_ir_sensors(struct i2c_client *client)
return (ret & MLX90614_CONFIG_DUAL_MASK) ? 1 : 0;
}
-static int mlx90614_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mlx90614_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct iio_dev *indio_dev;
struct mlx90614_data *data;
int ret;
@@ -675,7 +675,7 @@ static struct i2c_driver mlx90614_driver = {
.of_match_table = mlx90614_of_match,
.pm = pm_ptr(&mlx90614_pm_ops),
},
- .probe = mlx90614_probe,
+ .probe_new = mlx90614_probe,
.remove = mlx90614_remove,
.id_table = mlx90614_id,
};
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 186/606] iio: temperature: mlx90632: 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
` (136 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 185/606] iio: temperature: mlx90614: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 23:04 ` Crt Mori
2022-11-18 22:38 ` [PATCH 187/606] iio: temperature: tmp006: " Uwe Kleine-König
` (14 subsequent siblings)
152 siblings, 1 reply; 179+ 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, Crt Mori,
Jonathan Cameron
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/mlx90632.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
index f1f5ebc145b1..19e30cfca8a7 100644
--- a/drivers/iio/temperature/mlx90632.c
+++ b/drivers/iio/temperature/mlx90632.c
@@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
return ret;
}
-static int mlx90632_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int mlx90632_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct mlx90632_data *mlx90632;
struct iio_dev *indio_dev;
struct regmap *regmap;
@@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
.of_match_table = mlx90632_of_match,
.pm = pm_ptr(&mlx90632_pm_ops),
},
+<<<<<<< ours
.probe = mlx90632_probe,
+||||||| base
+ .probe = mlx90632_probe,
+ .remove = mlx90632_remove,
+=======
+ .probe_new = mlx90632_probe,
+ .remove = mlx90632_remove,
+>>>>>>> theirs
.id_table = mlx90632_id,
};
module_i2c_driver(mlx90632_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 187/606] iio: temperature: tmp006: 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
` (137 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 186/606] iio: temperature: mlx90632: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 188/606] iio: temperature: tmp007: " Uwe Kleine-König
` (13 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/tmp006.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/temperature/tmp006.c b/drivers/iio/temperature/tmp006.c
index 706a760f30b4..cdf08477e63f 100644
--- a/drivers/iio/temperature/tmp006.c
+++ b/drivers/iio/temperature/tmp006.c
@@ -212,8 +212,7 @@ static void tmp006_powerdown_cleanup(void *dev)
tmp006_power(dev, false);
}
-static int tmp006_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tmp006_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct tmp006_data *data;
@@ -284,7 +283,7 @@ static struct i2c_driver tmp006_driver = {
.name = "tmp006",
.pm = pm_sleep_ptr(&tmp006_pm_ops),
},
- .probe = tmp006_probe,
+ .probe_new = tmp006_probe,
.id_table = tmp006_id,
};
module_i2c_driver(tmp006_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 188/606] iio: temperature: tmp007: 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
` (138 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 187/606] iio: temperature: tmp006: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 189/606] iio: temperature: tsys01: " Uwe Kleine-König
` (12 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Paul Cercueil, Manivannan Sadhasivam
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/tmp007.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/temperature/tmp007.c b/drivers/iio/temperature/tmp007.c
index f3420d8a0e35..8d27aa3bdd6d 100644
--- a/drivers/iio/temperature/tmp007.c
+++ b/drivers/iio/temperature/tmp007.c
@@ -446,9 +446,9 @@ static void tmp007_powerdown_action_cb(void *priv)
tmp007_powerdown(data);
}
-static int tmp007_probe(struct i2c_client *client,
- const struct i2c_device_id *tmp007_id)
+static int tmp007_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *tmp007_id = i2c_client_get_device_id(client);
struct tmp007_data *data;
struct iio_dev *indio_dev;
int ret;
@@ -574,7 +574,7 @@ static struct i2c_driver tmp007_driver = {
.of_match_table = tmp007_of_match,
.pm = pm_sleep_ptr(&tmp007_pm_ops),
},
- .probe = tmp007_probe,
+ .probe_new = tmp007_probe,
.id_table = tmp007_id,
};
module_i2c_driver(tmp007_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 189/606] iio: temperature: tsys01: 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
` (139 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 188/606] iio: temperature: tmp007: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 190/606] iio: temperature: tsys02d: " Uwe Kleine-König
` (11 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/tsys01.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/temperature/tsys01.c b/drivers/iio/temperature/tsys01.c
index 60d58ec5b063..30b268ba82cc 100644
--- a/drivers/iio/temperature/tsys01.c
+++ b/drivers/iio/temperature/tsys01.c
@@ -176,8 +176,7 @@ static int tsys01_probe(struct iio_dev *indio_dev, struct device *dev)
return devm_iio_device_register(dev, indio_dev);
}
-static int tsys01_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tsys01_i2c_probe(struct i2c_client *client)
{
struct tsys01_dev *dev_data;
struct iio_dev *indio_dev;
@@ -219,7 +218,7 @@ static const struct of_device_id tsys01_of_match[] = {
MODULE_DEVICE_TABLE(of, tsys01_of_match);
static struct i2c_driver tsys01_driver = {
- .probe = tsys01_i2c_probe,
+ .probe_new = tsys01_i2c_probe,
.id_table = tsys01_id,
.driver = {
.name = "tsys01",
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 190/606] iio: temperature: tsys02d: 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
` (140 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 189/606] iio: temperature: tsys01: " Uwe Kleine-König
@ 2022-11-18 22:38 ` Uwe Kleine-König
2022-11-18 22:45 ` [PATCH 566/606] staging: iio: adt7316: " Uwe Kleine-König
` (10 subsequent siblings)
152 siblings, 0 replies; 179+ 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,
Jonathan Cameron, Andy Shevchenko
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, 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/iio/temperature/tsys02d.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/temperature/tsys02d.c b/drivers/iio/temperature/tsys02d.c
index 49c275e4f510..cdefe046ab17 100644
--- a/drivers/iio/temperature/tsys02d.c
+++ b/drivers/iio/temperature/tsys02d.c
@@ -121,9 +121,9 @@ static const struct iio_info tsys02d_info = {
.attrs = &tsys02d_attribute_group,
};
-static int tsys02d_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int tsys02d_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct ms_ht_dev *dev_data;
struct iio_dev *indio_dev;
int ret;
@@ -174,7 +174,7 @@ static const struct i2c_device_id tsys02d_id[] = {
MODULE_DEVICE_TABLE(i2c, tsys02d_id);
static struct i2c_driver tsys02d_driver = {
- .probe = tsys02d_probe,
+ .probe_new = tsys02d_probe,
.id_table = tsys02d_id,
.driver = {
.name = "tsys02d",
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 566/606] staging: iio: adt7316: 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
` (141 preceding siblings ...)
2022-11-18 22:38 ` [PATCH 190/606] iio: temperature: tsys02d: " Uwe Kleine-König
@ 2022-11-18 22:45 ` Uwe Kleine-König
2022-11-18 22:45 ` [PATCH 567/606] staging: iio: ad5933: " Uwe Kleine-König
` (9 subsequent siblings)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:45 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
Greg Kroah-Hartman
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio,
linux-staging, 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/staging/iio/addac/adt7316-i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c
index 5543cc909707..7e3d1a6f30ba 100644
--- a/drivers/staging/iio/addac/adt7316-i2c.c
+++ b/drivers/staging/iio/addac/adt7316-i2c.c
@@ -93,9 +93,9 @@ static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data)
* device probe and remove
*/
-static int adt7316_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int adt7316_i2c_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct adt7316_bus bus = {
.client = client,
.irq = client->irq,
@@ -138,7 +138,7 @@ static struct i2c_driver adt7316_driver = {
.of_match_table = adt7316_of_match,
.pm = ADT7316_PM_OPS,
},
- .probe = adt7316_i2c_probe,
+ .probe_new = adt7316_i2c_probe,
.id_table = adt7316_i2c_id,
};
module_i2c_driver(adt7316_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 567/606] staging: iio: ad5933: 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
` (142 preceding siblings ...)
2022-11-18 22:45 ` [PATCH 566/606] staging: iio: adt7316: " Uwe Kleine-König
@ 2022-11-18 22:45 ` Uwe Kleine-König
2022-11-22 12:22 ` Greg Kroah-Hartman
2022-11-18 22:45 ` [PATCH 568/606] staging: iio: ade7854: " Uwe Kleine-König
` (8 subsequent siblings)
152 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:45 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
Greg Kroah-Hartman
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio,
linux-staging, 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/staging/iio/impedance-analyzer/ad5933.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
index f177b20f0f2d..b3152f7153fb 100644
--- a/drivers/staging/iio/impedance-analyzer/ad5933.c
+++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
@@ -674,9 +674,9 @@ static void ad5933_clk_disable(void *data)
clk_disable_unprepare(st->mclk);
}
-static int ad5933_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ad5933_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
int ret;
struct ad5933_state *st;
struct iio_dev *indio_dev;
@@ -781,7 +781,7 @@ static struct i2c_driver ad5933_driver = {
.name = "ad5933",
.of_match_table = ad5933_of_match,
},
- .probe = ad5933_probe,
+ .probe_new = ad5933_probe,
.id_table = ad5933_id,
};
module_i2c_driver(ad5933_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* [PATCH 568/606] staging: iio: ade7854: 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
` (143 preceding siblings ...)
2022-11-18 22:45 ` [PATCH 567/606] staging: iio: ad5933: " Uwe Kleine-König
@ 2022-11-18 22:45 ` 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)
152 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-18 22:45 UTC (permalink / raw)
To: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
Greg Kroah-Hartman
Cc: linux-i2c, kernel, Uwe Kleine-König, linux-iio,
linux-staging, 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/staging/iio/meter/ade7854-i2c.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/meter/ade7854-i2c.c b/drivers/staging/iio/meter/ade7854-i2c.c
index 71b67dd3c8e9..572d714eb0dd 100644
--- a/drivers/staging/iio/meter/ade7854-i2c.c
+++ b/drivers/staging/iio/meter/ade7854-i2c.c
@@ -112,8 +112,7 @@ static int ade7854_i2c_read_reg(struct device *dev,
return ret;
}
-static int ade7854_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int ade7854_i2c_probe(struct i2c_client *client)
{
struct ade7854_state *st;
struct iio_dev *indio_dev;
@@ -144,7 +143,7 @@ static struct i2c_driver ade7854_i2c_driver = {
.driver = {
.name = "ade7854",
},
- .probe = ade7854_i2c_probe,
+ .probe_new = ade7854_i2c_probe,
.id_table = ade7854_id,
};
module_i2c_driver(ade7854_i2c_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* Re: [PATCH 185/606] iio: temperature: mlx90614: Convert to i2c's .probe_new()
2022-11-18 22:38 ` [PATCH 185/606] iio: temperature: mlx90614: " Uwe Kleine-König
@ 2022-11-18 23:03 ` Crt Mori
0 siblings, 0 replies; 179+ messages in thread
From: Crt Mori @ 2022-11-18 23:03 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, linux-i2c, kernel, Uwe Kleine-König,
Lars-Peter Clausen, linux-iio, linux-kernel
Acked-by: Crt Mori<cmo@melexis.com>
Crt Mori
Melexis Technologies NV
Transportstraat 1
3980 Tessenderlo
Mobile: +32 492 46 22 15
E-mail: cmo@melexis.com
Website: www.melexis.com
----------------------------------------------------------
The contents of this e-mail are CONFIDENTIAL AND PROPRIETARY. Please
read our disclaimer at http://www.melexis.com/mailpolicy
On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> ---
> drivers/iio/temperature/mlx90614.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/temperature/mlx90614.c b/drivers/iio/temperature/mlx90614.c
> index 8eb0f962ed25..909fadb62349 100644
> --- a/drivers/iio/temperature/mlx90614.c
> +++ b/drivers/iio/temperature/mlx90614.c
> @@ -537,9 +537,9 @@ static int mlx90614_probe_num_ir_sensors(struct i2c_client *client)
> return (ret & MLX90614_CONFIG_DUAL_MASK) ? 1 : 0;
> }
>
> -static int mlx90614_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int mlx90614_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> struct iio_dev *indio_dev;
> struct mlx90614_data *data;
> int ret;
> @@ -675,7 +675,7 @@ static struct i2c_driver mlx90614_driver = {
> .of_match_table = mlx90614_of_match,
> .pm = pm_ptr(&mlx90614_pm_ops),
> },
> - .probe = mlx90614_probe,
> + .probe_new = mlx90614_probe,
> .remove = mlx90614_remove,
> .id_table = mlx90614_id,
> };
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 186/606] iio: temperature: mlx90632: Convert to i2c's .probe_new()
2022-11-18 22:38 ` [PATCH 186/606] iio: temperature: mlx90632: " Uwe Kleine-König
@ 2022-11-18 23:04 ` Crt Mori
2022-11-19 10:02 ` Uwe Kleine-König
0 siblings, 1 reply; 179+ messages in thread
From: Crt Mori @ 2022-11-18 23:04 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, linux-i2c, kernel, Uwe Kleine-König,
Lars-Peter Clausen, linux-iio, linux-kernel
On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> ---
> drivers/iio/temperature/mlx90632.c | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> index f1f5ebc145b1..19e30cfca8a7 100644
> --- a/drivers/iio/temperature/mlx90632.c
> +++ b/drivers/iio/temperature/mlx90632.c
> @@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
> return ret;
> }
>
> -static int mlx90632_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int mlx90632_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> struct mlx90632_data *mlx90632;
> struct iio_dev *indio_dev;
> struct regmap *regmap;
> @@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
> .of_match_table = mlx90632_of_match,
> .pm = pm_ptr(&mlx90632_pm_ops),
> },
> +<<<<<<< ours
Maybe some of the merge artifacts left (also below)?
> .probe = mlx90632_probe,
> +||||||| base
> + .probe = mlx90632_probe,
> + .remove = mlx90632_remove,
> +=======
> + .probe_new = mlx90632_probe,
> + .remove = mlx90632_remove,
> +>>>>>>> theirs
> .id_table = mlx90632_id,
> };
> module_i2c_driver(mlx90632_driver);
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 114/606] iio: light: al3010: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 114/606] iio: light: al3010: " Uwe Kleine-König
@ 2022-11-18 23:05 ` David Heidelberg
0 siblings, 0 replies; 179+ messages in thread
From: David Heidelberg @ 2022-11-18 23:05 UTC (permalink / raw)
To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
Wolfram Sang, Jonathan Cameron, Paul Cercueil
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, linux-kernel
Thank you!
Reviewed-by: David Heidelberg <david@ixit.cz>
On 18/11/2022 23:37, 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/iio/light/al3010.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/light/al3010.c b/drivers/iio/light/al3010.c
> index ce5363845b22..69cc723e2ac4 100644
> --- a/drivers/iio/light/al3010.c
> +++ b/drivers/iio/light/al3010.c
> @@ -164,8 +164,7 @@ static const struct iio_info al3010_info = {
> .attrs = &al3010_attribute_group,
> };
>
> -static int al3010_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int al3010_probe(struct i2c_client *client)
> {
> struct al3010_data *data;
> struct iio_dev *indio_dev;
> @@ -230,7 +229,7 @@ static struct i2c_driver al3010_driver = {
> .of_match_table = al3010_of_match,
> .pm = pm_sleep_ptr(&al3010_pm_ops),
> },
> - .probe = al3010_probe,
> + .probe_new = al3010_probe,
> .id_table = al3010_id,
> };
> module_i2c_driver(al3010_driver);
--
David Heidelberg
Consultant Software Engineer
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 117/606] iio: light: apds9960: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 117/606] iio: light: apds9960: " Uwe Kleine-König
@ 2022-11-19 5:47 ` Matt Ranostay
0 siblings, 0 replies; 179+ messages in thread
From: Matt Ranostay @ 2022-11-19 5:47 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jeremy Kerr, Hans Verkuil,
Alejandro Concepción Rodríguez, Miquel Raynal,
Subhajit Ghosh, linux-i2c, kernel, Uwe Kleine-König,
Lars-Peter Clausen, linux-iio, linux-kernel
On Sat, Nov 19, 2022 at 6:46 AM Uwe Kleine-König <uwe@kleine-koenig.org> 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>
Looks good to me.
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
> ---
> drivers/iio/light/apds9960.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
> index a585ce0c122f..cc5974a95bd3 100644
> --- a/drivers/iio/light/apds9960.c
> +++ b/drivers/iio/light/apds9960.c
> @@ -988,8 +988,7 @@ static int apds9960_chip_init(struct apds9960_data *data)
> return apds9960_set_powermode(data, 1);
> }
>
> -static int apds9960_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int apds9960_probe(struct i2c_client *client)
> {
> struct apds9960_data *data;
> struct iio_dev *indio_dev;
> @@ -1132,7 +1131,7 @@ static struct i2c_driver apds9960_driver = {
> .pm = &apds9960_pm_ops,
> .acpi_match_table = apds9960_acpi_match,
> },
> - .probe = apds9960_probe,
> + .probe_new = apds9960_probe,
> .remove = apds9960_remove,
> .id_table = apds9960_id,
> };
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 179+ 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
` (145 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)
152 siblings, 0 replies; 179+ 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] 179+ 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
` (144 preceding siblings ...)
2022-11-18 22:45 ` [PATCH 568/606] staging: iio: ade7854: " 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)
152 siblings, 0 replies; 179+ 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] 179+ messages in thread
* Re: [PATCH 186/606] iio: temperature: mlx90632: Convert to i2c's .probe_new()
2022-11-18 23:04 ` Crt Mori
@ 2022-11-19 10:02 ` Uwe Kleine-König
2022-11-20 9:49 ` Crt Mori
0 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-19 10:02 UTC (permalink / raw)
To: Crt Mori
Cc: Uwe Kleine-König, Lars-Peter Clausen, linux-iio,
linux-kernel, Wolfram Sang, Angel Iglesias, linux-i2c, kernel,
Grant Likely, Lee Jones, Jonathan Cameron
[-- Attachment #1: Type: text/plain, Size: 2640 bytes --]
Hello,
On Sat, Nov 19, 2022 at 12:04:41AM +0100, Crt Mori wrote:
> On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> > ---
> > drivers/iio/temperature/mlx90632.c | 12 ++++++++++--
> > 1 file changed, 10 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > index f1f5ebc145b1..19e30cfca8a7 100644
> > --- a/drivers/iio/temperature/mlx90632.c
> > +++ b/drivers/iio/temperature/mlx90632.c
> > @@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
> > return ret;
> > }
> >
> > -static int mlx90632_probe(struct i2c_client *client,
> > - const struct i2c_device_id *id)
> > +static int mlx90632_probe(struct i2c_client *client)
> > {
> > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> > struct mlx90632_data *mlx90632;
> > struct iio_dev *indio_dev;
> > struct regmap *regmap;
> > @@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
> > .of_match_table = mlx90632_of_match,
> > .pm = pm_ptr(&mlx90632_pm_ops),
> > },
> > +<<<<<<< ours
>
> Maybe some of the merge artifacts left (also below)?
*groan*, ok, thanks for pointing out the obvious. Fixed in my tree. Ftr,
the fixup is:
diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
index 19e30cfca8a7..753b7a4ccfdd 100644
--- a/drivers/iio/temperature/mlx90632.c
+++ b/drivers/iio/temperature/mlx90632.c
@@ -1337,15 +1337,7 @@ static struct i2c_driver mlx90632_driver = {
.of_match_table = mlx90632_of_match,
.pm = pm_ptr(&mlx90632_pm_ops),
},
-<<<<<<< ours
- .probe = mlx90632_probe,
-||||||| base
- .probe = mlx90632_probe,
- .remove = mlx90632_remove,
-=======
.probe_new = mlx90632_probe,
- .remove = mlx90632_remove,
->>>>>>> theirs
.id_table = mlx90632_id,
};
module_i2c_driver(mlx90632_driver);
When (and if) I'll resend the series, the fixed version will be
included. (Unless someone picks up the broken patch with the above
fixup of course :-)
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 related [flat|nested] 179+ 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
` (146 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)
152 siblings, 0 replies; 179+ 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] 179+ messages in thread
* Re: [PATCH 054/606] iio: accel: kxcjk-1013: Convert to i2c's .probe_new()
2022-11-18 22:36 ` [PATCH 054/606] iio: accel: kxcjk-1013: " Uwe Kleine-König
@ 2022-11-19 12:03 ` Andy Shevchenko
2022-11-19 16:08 ` Uwe Kleine-König
0 siblings, 1 reply; 179+ messages in thread
From: Andy Shevchenko @ 2022-11-19 12:03 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jean Delvare, Srinivas Pandruvada,
Dmitry Rokosov, Miaoqian Lin, wangjianli, linux-i2c, kernel,
Uwe Kleine-König, Lars-Peter Clausen, linux-iio,
linux-kernel
On Fri, Nov 18, 2022 at 11:36:28PM +0100, 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.
Since there is no split on per subsystem basis (I mean, as a series targeting
only, let's say, IIO subsystem with cover letter), I'm answering here that all
IIO patches are good to me, thanks, Uwe!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> drivers/iio/accel/kxcjk-1013.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
> index e626b6fa8a36..98da4bda22df 100644
> --- a/drivers/iio/accel/kxcjk-1013.c
> +++ b/drivers/iio/accel/kxcjk-1013.c
> @@ -1424,9 +1424,9 @@ static const char *kxcjk1013_match_acpi_device(struct device *dev,
> return dev_name(dev);
> }
>
> -static int kxcjk1013_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int kxcjk1013_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> static const char * const regulator_names[] = { "vdd", "vddio" };
> struct kxcjk1013_data *data;
> struct iio_dev *indio_dev;
> @@ -1732,7 +1732,7 @@ static struct i2c_driver kxcjk1013_driver = {
> .of_match_table = kxcjk1013_of_match,
> .pm = &kxcjk1013_pm_ops,
> },
> - .probe = kxcjk1013_probe,
> + .probe_new = kxcjk1013_probe,
> .remove = kxcjk1013_remove,
> .id_table = kxcjk1013_id,
> };
> --
> 2.38.1
>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 056/606] iio: accel: mma8452: Convert to i2c's .probe_new()
2022-11-18 22:36 ` [PATCH 056/606] iio: accel: mma8452: " Uwe Kleine-König
@ 2022-11-19 12:57 ` Hans de Goede
0 siblings, 0 replies; 179+ 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, Jonathan Cameron, Haibo Chen, Martin Kepplinger
Cc: linux-i2c, kernel, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, linux-kernel
Hi,
On 11/18/22 23:36, 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/iio/accel/mma8452.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index 3ba28c2ff68a..f97fb68e3a71 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -1545,9 +1545,9 @@ static const struct of_device_id mma8452_dt_ids[] = {
> };
> MODULE_DEVICE_TABLE(of, mma8452_dt_ids);
>
> -static int mma8452_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int mma8452_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> struct mma8452_data *data;
> struct iio_dev *indio_dev;
> int ret;
> @@ -1846,7 +1846,7 @@ static struct i2c_driver mma8452_driver = {
> .of_match_table = mma8452_dt_ids,
> .pm = &mma8452_pm_ops,
> },
> - .probe = mma8452_probe,
> + .probe_new = mma8452_probe,
> .remove = mma8452_remove,
> .id_table = mma8452_id,
> };
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 054/606] iio: accel: kxcjk-1013: Convert to i2c's .probe_new()
2022-11-19 12:03 ` Andy Shevchenko
@ 2022-11-19 16:08 ` Uwe Kleine-König
2022-11-20 13:49 ` Andy Shevchenko
0 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-19 16:08 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Uwe Kleine-König, Miaoqian Lin, Lars-Peter Clausen,
linux-iio, linux-kernel, Wolfram Sang, wangjianli, Angel Iglesias,
Jonathan Cameron, kernel, Srinivas Pandruvada, Grant Likely,
Dmitry Rokosov, Lee Jones, Jean Delvare, linux-i2c
[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]
Hello Andy,
On Sat, Nov 19, 2022 at 02:03:42PM +0200, Andy Shevchenko wrote:
> On Fri, Nov 18, 2022 at 11:36:28PM +0100, 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.
>
> Since there is no split on per subsystem basis (I mean, as a series targeting
> only, let's say, IIO subsystem with cover letter), I'm answering here that all
> IIO patches are good to me, thanks, Uwe!
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Thanks!
Does this include the three patches:
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()
?
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] 179+ messages in thread
* Re: [PATCH 092/606] iio: dac: ti-dac5571: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 092/606] iio: dac: ti-dac5571: " Uwe Kleine-König
@ 2022-11-19 17:42 ` Laurent Pinchart
0 siblings, 0 replies; 179+ messages in thread
From: Laurent Pinchart @ 2022-11-19 17:42 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Peter Rosin, Andy Shevchenko, Antoniu Miclaus,
Jose Cazarin, linux-i2c, kernel, Uwe Kleine-König,
Lars-Peter Clausen, linux-iio, linux-kernel
On Fri, Nov 18, 2022 at 11:37:06PM +0100, 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>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/iio/dac/ti-dac5571.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c
> index 3210e3098f9a..40191947fea3 100644
> --- a/drivers/iio/dac/ti-dac5571.c
> +++ b/drivers/iio/dac/ti-dac5571.c
> @@ -306,9 +306,9 @@ static const struct iio_info dac5571_info = {
> .write_raw_get_fmt = dac5571_write_raw_get_fmt,
> };
>
> -static int dac5571_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int dac5571_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> struct device *dev = &client->dev;
> const struct dac5571_spec *spec;
> struct dac5571_data *data;
> @@ -426,7 +426,7 @@ static struct i2c_driver dac5571_driver = {
> .name = "ti-dac5571",
> .of_match_table = dac5571_of_id,
> },
> - .probe = dac5571_probe,
> + .probe_new = dac5571_probe,
> .remove = dac5571_remove,
> .id_table = dac5571_id,
> };
> --
> 2.38.1
>
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 186/606] iio: temperature: mlx90632: Convert to i2c's .probe_new()
2022-11-19 10:02 ` Uwe Kleine-König
@ 2022-11-20 9:49 ` Crt Mori
2022-11-22 18:35 ` Jonathan Cameron
0 siblings, 1 reply; 179+ messages in thread
From: Crt Mori @ 2022-11-20 9:49 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Uwe Kleine-König, Lars-Peter Clausen, linux-iio,
linux-kernel, Wolfram Sang, Angel Iglesias, linux-i2c, kernel,
Grant Likely, Lee Jones, Jonathan Cameron
Ok. Acked-by: Crt Mori <cmo@melexis.com>
(resending since previous mail was not delivered because it was not plaintext)
On Sat, 19 Nov 2022 at 11:02, Uwe Kleine-König
<u.kleine-koenig@pengutronix.de> wrote:
>
> Hello,
>
> On Sat, Nov 19, 2022 at 12:04:41AM +0100, Crt Mori wrote:
> > On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> > > ---
> > > drivers/iio/temperature/mlx90632.c | 12 ++++++++++--
> > > 1 file changed, 10 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > > index f1f5ebc145b1..19e30cfca8a7 100644
> > > --- a/drivers/iio/temperature/mlx90632.c
> > > +++ b/drivers/iio/temperature/mlx90632.c
> > > @@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
> > > return ret;
> > > }
> > >
> > > -static int mlx90632_probe(struct i2c_client *client,
> > > - const struct i2c_device_id *id)
> > > +static int mlx90632_probe(struct i2c_client *client)
> > > {
> > > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> > > struct mlx90632_data *mlx90632;
> > > struct iio_dev *indio_dev;
> > > struct regmap *regmap;
> > > @@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
> > > .of_match_table = mlx90632_of_match,
> > > .pm = pm_ptr(&mlx90632_pm_ops),
> > > },
> > > +<<<<<<< ours
> >
> > Maybe some of the merge artifacts left (also below)?
>
> *groan*, ok, thanks for pointing out the obvious. Fixed in my tree. Ftr,
> the fixup is:
>
> diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> index 19e30cfca8a7..753b7a4ccfdd 100644
> --- a/drivers/iio/temperature/mlx90632.c
> +++ b/drivers/iio/temperature/mlx90632.c
> @@ -1337,15 +1337,7 @@ static struct i2c_driver mlx90632_driver = {
> .of_match_table = mlx90632_of_match,
> .pm = pm_ptr(&mlx90632_pm_ops),
> },
> -<<<<<<< ours
> - .probe = mlx90632_probe,
> -||||||| base
> - .probe = mlx90632_probe,
> - .remove = mlx90632_remove,
> -=======
> .probe_new = mlx90632_probe,
> - .remove = mlx90632_remove,
> ->>>>>>> theirs
> .id_table = mlx90632_id,
> };
> module_i2c_driver(mlx90632_driver);
>
> When (and if) I'll resend the series, the fixed version will be
> included. (Unless someone picks up the broken patch with the above
> fixup of course :-)
>
> Best regards
> Uwe
>
> --
> Pengutronix e.K. | Uwe Kleine-König |
> Industrial Linux Solutions | https://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 054/606] iio: accel: kxcjk-1013: Convert to i2c's .probe_new()
2022-11-19 16:08 ` Uwe Kleine-König
@ 2022-11-20 13:49 ` Andy Shevchenko
0 siblings, 0 replies; 179+ messages in thread
From: Andy Shevchenko @ 2022-11-20 13:49 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Uwe Kleine-König, Miaoqian Lin, Lars-Peter Clausen,
linux-iio, linux-kernel, Wolfram Sang, wangjianli, Angel Iglesias,
Jonathan Cameron, kernel, Srinivas Pandruvada, Grant Likely,
Dmitry Rokosov, Lee Jones, Jean Delvare, linux-i2c
On Sat, Nov 19, 2022 at 05:08:18PM +0100, Uwe Kleine-König wrote:
> On Sat, Nov 19, 2022 at 02:03:42PM +0200, Andy Shevchenko wrote:
> > On Fri, Nov 18, 2022 at 11:36:28PM +0100, 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.
> >
> > Since there is no split on per subsystem basis (I mean, as a series targeting
> > only, let's say, IIO subsystem with cover letter), I'm answering here that all
> > IIO patches are good to me, thanks, Uwe!
> >
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Thanks!
>
> Does this include the three patches:
>
> 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()
>
> ?
It includes IIO patches, for staging I didn't looked at.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 179+ 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
` (147 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)
152 siblings, 0 replies; 179+ 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] 179+ 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
` (148 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)
152 siblings, 0 replies; 179+ 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] 179+ messages in thread
* Re: [PATCH 166/606] iio: pressure: bmp280-i2c: Convert to i2c's .probe_new()
2022-11-18 22:38 ` [PATCH 166/606] iio: pressure: bmp280-i2c: " Uwe Kleine-König
@ 2022-11-21 10:16 ` Uwe Kleine-König
0 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-21 10:16 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Andy Shevchenko, Rafael J. Wysocki,
Paul Cercueil, Lars-Peter Clausen, linux-iio, linux-kernel,
linux-i2c, kernel
[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]
Hello,
On Fri, Nov 18, 2022 at 11:38:20PM +0100, 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>
> ---
> drivers/iio/pressure/bmp280-i2c.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/pressure/bmp280-i2c.c b/drivers/iio/pressure/bmp280-i2c.c
> index 14eab086d24a..4da014b158c8 100644
> --- a/drivers/iio/pressure/bmp280-i2c.c
> +++ b/drivers/iio/pressure/bmp280-i2c.c
> @@ -7,6 +7,7 @@
>
> static int bmp280_i2c_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> struct regmap *regmap;
> const struct regmap_config *regmap_config;
> const struct i2c_device_id *id = i2c_client_get_device_id(client);
This patch is bogus, it degraded by rebasing on top of Angel Iglesias's
conversion (021882de1a48cffaa405aa8014bd1d48ca6d5c19 in today's next).
I dropped it from my queue, please don't apply.
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] 179+ messages in thread
* Re: [PATCH 067/606] iio: adc: max9611: Convert to i2c's .probe_new()
2022-11-18 22:36 ` [PATCH 067/606] iio: adc: max9611: " Uwe Kleine-König
@ 2022-11-21 13:01 ` Jacopo Mondi
0 siblings, 0 replies; 179+ messages in thread
From: Jacopo Mondi @ 2022-11-21 13:01 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Jonathan Cameron, Jacopo Mondi, Andy Shevchenko, linux-i2c,
kernel, Uwe Kleine-König, Lars-Peter Clausen, linux-iio,
linux-kernel
Hi Uwe,
On Fri, Nov 18, 2022 at 11:36: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: Jacopo Mondi <jacopo@jmondi.org>
Thanks
j
> ---
> drivers/iio/adc/max9611.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/adc/max9611.c b/drivers/iio/adc/max9611.c
> index f982f00303dc..cb7f4785423a 100644
> --- a/drivers/iio/adc/max9611.c
> +++ b/drivers/iio/adc/max9611.c
> @@ -510,8 +510,7 @@ static const struct of_device_id max9611_of_table[] = {
> };
>
> MODULE_DEVICE_TABLE(of, max9611_of_table);
> -static int max9611_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int max9611_probe(struct i2c_client *client)
> {
> const char * const shunt_res_prop = "shunt-resistor-micro-ohms";
> struct max9611_dev *max9611;
> @@ -557,7 +556,7 @@ static struct i2c_driver max9611_driver = {
> .name = DRIVER_NAME,
> .of_match_table = max9611_of_table,
> },
> - .probe = max9611_probe,
> + .probe_new = max9611_probe,
> };
> module_i2c_driver(max9611_driver);
>
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 109/606] iio: imu: inv_mpu6050: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 109/606] iio: imu: inv_mpu6050: " Uwe Kleine-König
@ 2022-11-22 10:06 ` Jean-Baptiste Maneyrol
2022-11-23 20:21 ` Jonathan Cameron
1 sibling, 0 replies; 179+ messages in thread
From: Jean-Baptiste Maneyrol @ 2022-11-22 10:06 UTC (permalink / raw)
To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
Wolfram Sang, Jonathan Cameron, Andy Shevchenko, Hans Verkuil,
Michael Srba
Cc: linux-i2c@vger.kernel.org, kernel@pengutronix.de,
Uwe Kleine-König, Lars-Peter Clausen,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Hello,
looks good, thanks for the patch.
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Best regards,
JB
From: Uwe Kleine-König <uwe@kleine-koenig.org>
Sent: Friday, November 18, 2022 23:37
To: Angel Iglesias <ang.iglesiasg@gmail.com>; Lee Jones <lee.jones@linaro.org>; Grant Likely <grant.likely@linaro.org>; Wolfram Sang <wsa@kernel.org>; Jonathan Cameron <jic23@kernel.org>; Andy Shevchenko <andriy.shevchenko@linux.intel.com>; Jean-Baptiste Maneyrol <Jean-Baptiste.Maneyrol@tdk.com>; Hans Verkuil <hverkuil-cisco@xs4all.nl>; Michael Srba <Michael.Srba@seznam.cz>
Cc: linux-i2c@vger.kernel.org <linux-i2c@vger.kernel.org>; kernel@pengutronix.de <kernel@pengutronix.de>; Uwe Kleine-König <u.kleine-koenig@pengutronix.de>; Lars-Peter Clausen <lars@metafoo.de>; linux-iio@vger.kernel.org <linux-iio@vger.kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
Subject: [PATCH 109/606] iio: imu: inv_mpu6050: Convert to i2c's .probe_new()
[CAUTION] This is an EXTERNAL email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
======================================================================
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/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
index 7a8d60a5afa9..70eaa408e388 100644
--- a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
+++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
@@ -95,9 +95,9 @@ static int inv_mpu_i2c_aux_setup(struct iio_dev *indio_dev)
*
* Returns 0 on success, a negative error code otherwise.
*/
-static int inv_mpu_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int inv_mpu_probe(struct i2c_client *client)
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
const void *match;
struct inv_mpu6050_state *st;
int result;
@@ -260,7 +260,7 @@ static const struct acpi_device_id inv_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, inv_acpi_match);
static struct i2c_driver inv_mpu_driver = {
- .probe = inv_mpu_probe,
+ .probe_new = inv_mpu_probe,
.remove = inv_mpu_remove,
.id_table = inv_mpu_id,
.driver = {
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* Re: [PATCH 171/606] iio: pressure: icp10100: Convert to i2c's .probe_new()
2022-11-18 22:38 ` [PATCH 171/606] iio: pressure: icp10100: " Uwe Kleine-König
@ 2022-11-22 10:07 ` Jean-Baptiste Maneyrol
0 siblings, 0 replies; 179+ messages in thread
From: Jean-Baptiste Maneyrol @ 2022-11-22 10:07 UTC (permalink / raw)
To: Uwe Kleine-König, Angel Iglesias, Lee Jones, Grant Likely,
Wolfram Sang, Jonathan Cameron
Cc: linux-i2c@vger.kernel.org, kernel@pengutronix.de,
Uwe Kleine-König, Lars-Peter Clausen,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Hello,
looks good, thanks for the patch.
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Best regards,
JB
From: Uwe Kleine-König <uwe@kleine-koenig.org>
Sent: Friday, November 18, 2022 23:38
To: Angel Iglesias <ang.iglesiasg@gmail.com>; Lee Jones <lee.jones@linaro.org>; Grant Likely <grant.likely@linaro.org>; Wolfram Sang <wsa@kernel.org>; Jonathan Cameron <jic23@kernel.org>; Jean-Baptiste Maneyrol <Jean-Baptiste.Maneyrol@tdk.com>
Cc: linux-i2c@vger.kernel.org <linux-i2c@vger.kernel.org>; kernel@pengutronix.de <kernel@pengutronix.de>; Uwe Kleine-König <u.kleine-koenig@pengutronix.de>; Lars-Peter Clausen <lars@metafoo.de>; linux-iio@vger.kernel.org <linux-iio@vger.kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
Subject: [PATCH 171/606] iio: pressure: icp10100: Convert to i2c's .probe_new()
[CAUTION] This is an EXTERNAL email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
======================================================================
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/iio/pressure/icp10100.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/icp10100.c b/drivers/iio/pressure/icp10100.c
index b62f28585db5..407cf25ea0e3 100644
--- a/drivers/iio/pressure/icp10100.c
+++ b/drivers/iio/pressure/icp10100.c
@@ -530,8 +530,7 @@ static void icp10100_pm_disable(void *data)
pm_runtime_disable(dev);
}
-static int icp10100_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int icp10100_probe(struct i2c_client *client)
{
struct iio_dev *indio_dev;
struct icp10100_state *st;
@@ -649,7 +648,7 @@ static struct i2c_driver icp10100_driver = {
.pm = pm_ptr(&icp10100_pm),
.of_match_table = icp10100_of_match,
},
- .probe = icp10100_probe,
+ .probe_new = icp10100_probe,
.id_table = icp10100_id,
};
module_i2c_driver(icp10100_driver);
--
2.38.1
^ permalink raw reply related [flat|nested] 179+ messages in thread
* Re: [PATCH 567/606] staging: iio: ad5933: Convert to i2c's .probe_new()
2022-11-18 22:45 ` [PATCH 567/606] staging: iio: ad5933: " Uwe Kleine-König
@ 2022-11-22 12:22 ` Greg Kroah-Hartman
2022-11-22 13:35 ` Uwe Kleine-König
0 siblings, 1 reply; 179+ messages in thread
From: Greg Kroah-Hartman @ 2022-11-22 12:22 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
linux-i2c, kernel, Uwe Kleine-König, linux-iio,
linux-staging, linux-kernel
On Fri, Nov 18, 2022 at 11:45:01PM +0100, 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>
> ---
> drivers/staging/iio/impedance-analyzer/ad5933.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
> index f177b20f0f2d..b3152f7153fb 100644
> --- a/drivers/staging/iio/impedance-analyzer/ad5933.c
> +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
> @@ -674,9 +674,9 @@ static void ad5933_clk_disable(void *data)
> clk_disable_unprepare(st->mclk);
> }
>
> -static int ad5933_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int ad5933_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
Breaks the build in my tree as this function is not in Linus's tree yet
:(
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 567/606] staging: iio: ad5933: Convert to i2c's .probe_new()
2022-11-22 12:22 ` Greg Kroah-Hartman
@ 2022-11-22 13:35 ` Uwe Kleine-König
2022-11-22 18:40 ` Jonathan Cameron
0 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-22 13:35 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Uwe Kleine-König, Lars-Peter Clausen, Michael Hennerich,
linux-iio, linux-staging, linux-kernel, Wolfram Sang,
Angel Iglesias, linux-i2c, kernel, Grant Likely, Lee Jones,
Jonathan Cameron
[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]
Hello Greg,
On Tue, Nov 22, 2022 at 01:22:39PM +0100, Greg Kroah-Hartman wrote:
> On Fri, Nov 18, 2022 at 11:45:01PM +0100, 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>
> > ---
> > drivers/staging/iio/impedance-analyzer/ad5933.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
> > index f177b20f0f2d..b3152f7153fb 100644
> > --- a/drivers/staging/iio/impedance-analyzer/ad5933.c
> > +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
> > @@ -674,9 +674,9 @@ static void ad5933_clk_disable(void *data)
> > clk_disable_unprepare(st->mclk);
> > }
> >
> > -static int ad5933_probe(struct i2c_client *client,
> > - const struct i2c_device_id *id)
> > +static int ad5933_probe(struct i2c_client *client)
> > {
> > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
>
> Breaks the build in my tree as this function is not in Linus's tree yet
> :(
As pointed out in the cover letter[1] you want to make sure that
https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable
is part of your tree first. So either pull that into your tree, or wait
until this hits Linus's tree.
Best regards
Uwe
[1] https://lore.kernel.org/linux-kernel/20221118224540.619276-1-uwe@kleine-koenig.org
(It wasn't sent to every thread participant because that would have
been too many.)
--
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] 179+ messages in thread
* Re: [PATCH 186/606] iio: temperature: mlx90632: Convert to i2c's .probe_new()
2022-11-20 9:49 ` Crt Mori
@ 2022-11-22 18:35 ` Jonathan Cameron
2022-11-22 21:08 ` Uwe Kleine-König
0 siblings, 1 reply; 179+ messages in thread
From: Jonathan Cameron @ 2022-11-22 18:35 UTC (permalink / raw)
To: Crt Mori
Cc: Uwe Kleine-König, Uwe Kleine-König, Lars-Peter Clausen,
linux-iio, linux-kernel, Wolfram Sang, Angel Iglesias, linux-i2c,
kernel, Grant Likely, Lee Jones
On Sun, 20 Nov 2022 10:49:20 +0100
Crt Mori <cmo@melexis.com> wrote:
> Ok. Acked-by: Crt Mori <cmo@melexis.com>
> (resending since previous mail was not delivered because it was not plaintext)
>
> On Sat, 19 Nov 2022 at 11:02, Uwe Kleine-König
> <u.kleine-koenig@pengutronix.de> wrote:
> >
> > Hello,
> >
> > On Sat, Nov 19, 2022 at 12:04:41AM +0100, Crt Mori wrote:
> > > On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> > > > ---
> > > > drivers/iio/temperature/mlx90632.c | 12 ++++++++++--
> > > > 1 file changed, 10 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > > > index f1f5ebc145b1..19e30cfca8a7 100644
> > > > --- a/drivers/iio/temperature/mlx90632.c
> > > > +++ b/drivers/iio/temperature/mlx90632.c
> > > > @@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
> > > > return ret;
> > > > }
> > > >
> > > > -static int mlx90632_probe(struct i2c_client *client,
> > > > - const struct i2c_device_id *id)
> > > > +static int mlx90632_probe(struct i2c_client *client)
> > > > {
> > > > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> > > > struct mlx90632_data *mlx90632;
> > > > struct iio_dev *indio_dev;
> > > > struct regmap *regmap;
> > > > @@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
> > > > .of_match_table = mlx90632_of_match,
> > > > .pm = pm_ptr(&mlx90632_pm_ops),
> > > > },
> > > > +<<<<<<< ours
> > >
> > > Maybe some of the merge artifacts left (also below)?
> >
> > *groan*, ok, thanks for pointing out the obvious. Fixed in my tree. Ftr,
> > the fixup is:
> >
> > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > index 19e30cfca8a7..753b7a4ccfdd 100644
> > --- a/drivers/iio/temperature/mlx90632.c
> > +++ b/drivers/iio/temperature/mlx90632.c
> > @@ -1337,15 +1337,7 @@ static struct i2c_driver mlx90632_driver = {
> > .of_match_table = mlx90632_of_match,
> > .pm = pm_ptr(&mlx90632_pm_ops),
> > },
> > -<<<<<<< ours
> > - .probe = mlx90632_probe,
> > -||||||| base
> > - .probe = mlx90632_probe,
> > - .remove = mlx90632_remove,
> > -=======
> > .probe_new = mlx90632_probe,
> > - .remove = mlx90632_remove,
> > ->>>>>>> theirs
> > .id_table = mlx90632_id,
> > };
> > module_i2c_driver(mlx90632_driver);
> >
> > When (and if) I'll resend the series, the fixed version will be
> > included. (Unless someone picks up the broken patch with the above
> > fixup of course :-)
Who would be crazy enough to do that?
(fixed up whilst applying)
Jonathan
> >
> > Best regards
> > Uwe
> >
> > --
> > Pengutronix e.K. | Uwe Kleine-König |
> > Industrial Linux Solutions | https://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 179+ messages in thread
* Re: [PATCH 567/606] staging: iio: ad5933: Convert to i2c's .probe_new()
2022-11-22 13:35 ` Uwe Kleine-König
@ 2022-11-22 18:40 ` Jonathan Cameron
0 siblings, 0 replies; 179+ messages in thread
From: Jonathan Cameron @ 2022-11-22 18:40 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Greg Kroah-Hartman, Uwe Kleine-König, Lars-Peter Clausen,
Michael Hennerich, linux-iio, linux-staging, linux-kernel,
Wolfram Sang, Angel Iglesias, linux-i2c, kernel, Grant Likely,
Lee Jones
On Tue, 22 Nov 2022 14:35:34 +0100
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> Hello Greg,
>
> On Tue, Nov 22, 2022 at 01:22:39PM +0100, Greg Kroah-Hartman wrote:
> > On Fri, Nov 18, 2022 at 11:45:01PM +0100, 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>
> > > ---
> > > drivers/staging/iio/impedance-analyzer/ad5933.c | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
> > > index f177b20f0f2d..b3152f7153fb 100644
> > > --- a/drivers/staging/iio/impedance-analyzer/ad5933.c
> > > +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
> > > @@ -674,9 +674,9 @@ static void ad5933_clk_disable(void *data)
> > > clk_disable_unprepare(st->mclk);
> > > }
> > >
> > > -static int ad5933_probe(struct i2c_client *client,
> > > - const struct i2c_device_id *id)
> > > +static int ad5933_probe(struct i2c_client *client)
> > > {
> > > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> >
> > Breaks the build in my tree as this function is not in Linus's tree yet
> > :(
>
> As pointed out in the cover letter[1] you want to make sure that
>
> https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable
>
> is part of your tree first. So either pull that into your tree, or wait
> until this hits Linus's tree.
Greg,
I'm already carrying that tree so I'll pick these up unless you particularly want to take
the IIO staging ones with whatever else there is in staging from this series.
Jonathan
>
> Best regards
> Uwe
>
> [1] https://lore.kernel.org/linux-kernel/20221118224540.619276-1-uwe@kleine-koenig.org
> (It wasn't sent to every thread participant because that would have
> been too many.)
>
^ permalink raw reply [flat|nested] 179+ 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
` (149 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
152 siblings, 1 reply; 179+ 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] 179+ 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; 179+ 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] 179+ messages in thread
* Re: [PATCH 186/606] iio: temperature: mlx90632: Convert to i2c's .probe_new()
2022-11-22 18:35 ` Jonathan Cameron
@ 2022-11-22 21:08 ` Uwe Kleine-König
0 siblings, 0 replies; 179+ messages in thread
From: Uwe Kleine-König @ 2022-11-22 21:08 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Crt Mori, Lars-Peter Clausen, Uwe Kleine-König, linux-iio,
linux-kernel, Wolfram Sang, Angel Iglesias, linux-i2c, kernel,
Grant Likely, Lee Jones
[-- Attachment #1: Type: text/plain, Size: 3651 bytes --]
On Tue, Nov 22, 2022 at 06:35:57PM +0000, Jonathan Cameron wrote:
> On Sun, 20 Nov 2022 10:49:20 +0100
> Crt Mori <cmo@melexis.com> wrote:
>
> > Ok. Acked-by: Crt Mori <cmo@melexis.com>
> > (resending since previous mail was not delivered because it was not plaintext)
> >
> > On Sat, 19 Nov 2022 at 11:02, Uwe Kleine-König
> > <u.kleine-koenig@pengutronix.de> wrote:
> > >
> > > Hello,
> > >
> > > On Sat, Nov 19, 2022 at 12:04:41AM +0100, Crt Mori wrote:
> > > > On Fri, 18 Nov 2022 at 23:46, Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> > > > > ---
> > > > > drivers/iio/temperature/mlx90632.c | 12 ++++++++++--
> > > > > 1 file changed, 10 insertions(+), 2 deletions(-)
> > > > >
> > > > > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > > > > index f1f5ebc145b1..19e30cfca8a7 100644
> > > > > --- a/drivers/iio/temperature/mlx90632.c
> > > > > +++ b/drivers/iio/temperature/mlx90632.c
> > > > > @@ -1168,9 +1168,9 @@ static int mlx90632_enable_regulator(struct mlx90632_data *data)
> > > > > return ret;
> > > > > }
> > > > >
> > > > > -static int mlx90632_probe(struct i2c_client *client,
> > > > > - const struct i2c_device_id *id)
> > > > > +static int mlx90632_probe(struct i2c_client *client)
> > > > > {
> > > > > + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> > > > > struct mlx90632_data *mlx90632;
> > > > > struct iio_dev *indio_dev;
> > > > > struct regmap *regmap;
> > > > > @@ -1337,7 +1337,15 @@ static struct i2c_driver mlx90632_driver = {
> > > > > .of_match_table = mlx90632_of_match,
> > > > > .pm = pm_ptr(&mlx90632_pm_ops),
> > > > > },
> > > > > +<<<<<<< ours
> > > >
> > > > Maybe some of the merge artifacts left (also below)?
> > >
> > > *groan*, ok, thanks for pointing out the obvious. Fixed in my tree. Ftr,
> > > the fixup is:
> > >
> > > diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c
> > > index 19e30cfca8a7..753b7a4ccfdd 100644
> > > --- a/drivers/iio/temperature/mlx90632.c
> > > +++ b/drivers/iio/temperature/mlx90632.c
> > > @@ -1337,15 +1337,7 @@ static struct i2c_driver mlx90632_driver = {
> > > .of_match_table = mlx90632_of_match,
> > > .pm = pm_ptr(&mlx90632_pm_ops),
> > > },
> > > -<<<<<<< ours
> > > - .probe = mlx90632_probe,
> > > -||||||| base
> > > - .probe = mlx90632_probe,
> > > - .remove = mlx90632_remove,
> > > -=======
> > > .probe_new = mlx90632_probe,
> > > - .remove = mlx90632_remove,
> > > ->>>>>>> theirs
> > > .id_table = mlx90632_id,
> > > };
> > > module_i2c_driver(mlx90632_driver);
> > >
> > > When (and if) I'll resend the series, the fixed version will be
> > > included. (Unless someone picks up the broken patch with the above
> > > fixup of course :-)
> Who would be crazy enough to do that?
>
> (fixed up whilst applying)
Thanks, people seem really eager to prevent me resending the series :-)
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] 179+ messages in thread
* Re: [PATCH 109/606] iio: imu: inv_mpu6050: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 109/606] iio: imu: inv_mpu6050: " Uwe Kleine-König
2022-11-22 10:06 ` Jean-Baptiste Maneyrol
@ 2022-11-23 20:21 ` Jonathan Cameron
1 sibling, 0 replies; 179+ messages in thread
From: Jonathan Cameron @ 2022-11-23 20:21 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Andy Shevchenko, Jean-Baptiste Maneyrol, Hans Verkuil,
Michael Srba, linux-i2c, kernel, Uwe Kleine-König,
Lars-Peter Clausen, linux-iio, linux-kernel
On Fri, 18 Nov 2022 23:37:23 +0100
Uwe Kleine-König <uwe@kleine-koenig.org> 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>
> ---
> drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
> index 7a8d60a5afa9..70eaa408e388 100644
> --- a/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
> +++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
> @@ -95,9 +95,9 @@ static int inv_mpu_i2c_aux_setup(struct iio_dev *indio_dev)
> *
Kernel-doc (no idea why it needs it for a probe function) has
id documented. I've fixed up dropping that.
Jonathan
> * Returns 0 on success, a negative error code otherwise.
> */
> -static int inv_mpu_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int inv_mpu_probe(struct i2c_client *client)
> {
> + const struct i2c_device_id *id = i2c_client_get_device_id(client);
> const void *match;
> struct inv_mpu6050_state *st;
> int result;
> @@ -260,7 +260,7 @@ static const struct acpi_device_id inv_acpi_match[] = {
> MODULE_DEVICE_TABLE(acpi, inv_acpi_match);
>
> static struct i2c_driver inv_mpu_driver = {
> - .probe = inv_mpu_probe,
> + .probe_new = inv_mpu_probe,
> .remove = inv_mpu_remove,
> .id_table = inv_mpu_id,
> .driver = {
^ permalink raw reply [flat|nested] 179+ 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; 179+ 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] 179+ messages in thread
* Re: [PATCH 132/606] iio: light: max44009: Convert to i2c's .probe_new()
2022-11-18 22:37 ` [PATCH 132/606] iio: light: max44009: " Uwe Kleine-König
@ 2022-12-06 11:23 ` Uwe Kleine-König
2022-12-11 11:46 ` Jonathan Cameron
0 siblings, 1 reply; 179+ messages in thread
From: Uwe Kleine-König @ 2022-12-06 11:23 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, linux-iio, linux-kernel, linux-i2c, kernel
[-- Attachment #1: Type: text/plain, Size: 528 bytes --]
Hello Jonathan,
On Fri, Nov 18, 2022 at 11:37:46PM +0100, Uwe Kleine-König wrote:
> drivers/iio/light/max44009.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
all iio patches from my series but this one are applied in next now. I
wonder what happend to that one, my best guess is that this patch was
dropped by accident?
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] 179+ 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
` (150 preceding siblings ...)
2022-11-22 18:58 ` Jonathan Cameron
@ 2022-12-09 12:00 ` Robert Foss
2022-12-12 16:36 ` Robert Foss
152 siblings, 0 replies; 179+ 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] 179+ messages in thread
* Re: [PATCH 132/606] iio: light: max44009: Convert to i2c's .probe_new()
2022-12-06 11:23 ` Uwe Kleine-König
@ 2022-12-11 11:46 ` Jonathan Cameron
0 siblings, 0 replies; 179+ messages in thread
From: Jonathan Cameron @ 2022-12-11 11:46 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Angel Iglesias, Lee Jones, Grant Likely, Wolfram Sang,
Lars-Peter Clausen, linux-iio, linux-kernel, linux-i2c, kernel
On Tue, 6 Dec 2022 12:23:43 +0100
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> Hello Jonathan,
>
> On Fri, Nov 18, 2022 at 11:37:46PM +0100, Uwe Kleine-König wrote:
> > drivers/iio/light/max44009.c | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
>
> all iio patches from my series but this one are applied in next now. I
> wonder what happend to that one, my best guess is that this patch was
> dropped by accident?
Ah. Oops. Applied now to the togreg branch of iio.git, but it won't
appear in next until around rc1 as I want to rebase that tree so
won't push it out as togreg (the in theory non rebasing branch)
For now pushed out as testing for 0-day etc to take a look at it.
Thanks,
Jonathan
>
> Best regards
> Uwe
>
^ permalink raw reply [flat|nested] 179+ 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
` (151 preceding siblings ...)
2022-12-09 12:00 ` (subset) " Robert Foss
@ 2022-12-12 16:36 ` Robert Foss
152 siblings, 0 replies; 179+ 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] 179+ messages in thread
end of thread, other threads:[~2022-12-12 16:39 UTC | newest]
Thread overview: 179+ 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:36 ` [PATCH 049/606] iio: accel: adxl372_i2c: Convert to i2c's .probe_new() Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 050/606] iio: accel: bma180: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 051/606] iio: accel: bma400: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 052/606] iio: accel: bmc150: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 053/606] iio: accel: da280: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 054/606] iio: accel: kxcjk-1013: " Uwe Kleine-König
2022-11-19 12:03 ` Andy Shevchenko
2022-11-19 16:08 ` Uwe Kleine-König
2022-11-20 13:49 ` Andy Shevchenko
2022-11-18 22:36 ` [PATCH 055/606] iio: accel: mma7455_i2c: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 056/606] iio: accel: mma8452: " Uwe Kleine-König
2022-11-19 12:57 ` Hans de Goede
2022-11-18 22:36 ` [PATCH 057/606] iio: accel: mma9551: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 058/606] iio: accel: mma9553: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 059/606] iio: adc: ad7091r5: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 060/606] iio: adc: ad7291: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 061/606] iio: adc: ad799x: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 062/606] iio: adc: ina2xx-adc: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 063/606] iio: adc: ltc2471: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 064/606] iio: adc: ltc2485: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 065/606] iio: adc: ltc2497: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 066/606] iio: adc: max1363: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 067/606] iio: adc: max9611: " Uwe Kleine-König
2022-11-21 13:01 ` Jacopo Mondi
2022-11-18 22:36 ` [PATCH 068/606] iio: adc: mcp3422: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 069/606] iio: adc: ti-adc081c: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 070/606] iio: adc: ti-ads1015: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 071/606] iio: cdc: ad7150: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 072/606] iio: cdc: ad7746: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 073/606] iio: chemical: ams-iaq-core: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 074/606] iio: chemical: atlas-ezo-sensor: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 075/606] iio: chemical: atlas-sensor: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 076/606] iio: chemical: bme680_i2c: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 077/606] iio: chemical: ccs811: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 078/606] iio: chemical: scd4x: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 079/606] iio: chemical: sgp30: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 080/606] iio: chemical: sgp40: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 081/606] iio: chemical: vz89x: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 082/606] iio: dac: ad5064: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 083/606] iio: dac: ad5380: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 084/606] iio: dac: ad5446: " Uwe Kleine-König
2022-11-18 22:36 ` [PATCH 085/606] iio: dac: ad5593r: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 086/606] iio: dac: ad5696-i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 087/606] iio: dac: ds4424: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 088/606] iio: dac: m62332: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 089/606] iio: dac: max517: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 090/606] iio: dac: max5821: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 091/606] iio: dac: mcp4725: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 092/606] iio: dac: ti-dac5571: " Uwe Kleine-König
2022-11-19 17:42 ` Laurent Pinchart
2022-11-18 22:37 ` [PATCH 093/606] iio: gyro: bmg160_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 094/606] iio: gyro: itg3200_core: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 095/606] iio: gyro: mpu3050-i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 096/606] iio: gyro: st_gyro_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 097/606] iio: health: afe4404: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 098/606] iio: health: max30100: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 099/606] iio: health: max30102: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 100/606] iio: humidity: am2315: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 101/606] iio: humidity: hdc100x: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 102/606] iio: humidity: hdc2010: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 103/606] iio: humidity: hts221_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 104/606] iio: humidity: htu21: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 105/606] iio: humidity: si7005: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 106/606] iio: humidity: si7020: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 107/606] iio: imu: bmi160/bmi160_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 108/606] iio: imu: fxos8700_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 109/606] iio: imu: inv_mpu6050: " Uwe Kleine-König
2022-11-22 10:06 ` Jean-Baptiste Maneyrol
2022-11-23 20:21 ` Jonathan Cameron
2022-11-18 22:37 ` [PATCH 110/606] iio: imu: kmx61: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 111/606] iio: imu: st_lsm6dsx: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 112/606] iio: light: adjd_s311: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 113/606] iio: light: adux1020: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 114/606] iio: light: al3010: " Uwe Kleine-König
2022-11-18 23:05 ` David Heidelberg
2022-11-18 22:37 ` [PATCH 115/606] iio: light: al3320a: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 116/606] iio: light: apds9300: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 117/606] iio: light: apds9960: " Uwe Kleine-König
2022-11-19 5:47 ` Matt Ranostay
2022-11-18 22:37 ` [PATCH 118/606] iio: light: bh1750: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 119/606] iio: light: bh1780: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 120/606] iio: light: cm3232: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 121/606] iio: light: cm3323: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 122/606] iio: light: cm36651: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 123/606] iio: light: gp2ap002: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 124/606] iio: light: gp2ap020a00f: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 125/606] iio: light: isl29018: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 126/606] iio: light: isl29028: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 127/606] iio: light: isl29125: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 128/606] iio: light: jsa1212: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 129/606] iio: light: ltr501: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 130/606] iio: light: lv0104cs: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 131/606] iio: light: max44000: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 132/606] iio: light: max44009: " Uwe Kleine-König
2022-12-06 11:23 ` Uwe Kleine-König
2022-12-11 11:46 ` Jonathan Cameron
2022-11-18 22:37 ` [PATCH 133/606] iio: light: noa1305: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 134/606] iio: light: opt3001: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 135/606] iio: light: pa12203001: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 136/606] iio: light: rpr0521: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 137/606] iio: light: si1133: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 138/606] iio: light: si1145: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 139/606] iio: light: st_uvis25_i2c: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 140/606] iio: light: stk3310: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 141/606] iio: light: tcs3414: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 142/606] iio: light: tcs3472: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 143/606] iio: light: tsl2563: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 144/606] iio: light: tsl2583: " Uwe Kleine-König
2022-11-18 22:37 ` [PATCH 145/606] iio: light: tsl2772: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 146/606] iio: light: tsl4531: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 147/606] iio: light: us5182d: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 148/606] iio: light: vcnl4000: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 149/606] iio: light: vcnl4035: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 150/606] iio: light: veml6030: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 151/606] iio: light: veml6070: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 152/606] iio: light: zopt2201: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 153/606] iio: magnetometer: ak8974: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 154/606] iio: magnetometer: ak8975: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 155/606] iio: magnetometer: bmc150_magn_i2c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 156/606] iio: magnetometer: hmc5843: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 157/606] iio: magnetometer: mag3110: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 158/606] iio: magnetometer: mmc35240: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 159/606] iio: magnetometer: yamaha-yas530: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 160/606] iio: potentiometer: ad5272: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 161/606] iio: potentiometer: ds1803: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 162/606] iio: potentiometer: max5432: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 163/606] iio: potentiometer: tpl0102: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 164/606] iio: potentiostat: lmp91000: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 165/606] iio: pressure: abp060mg: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 166/606] iio: pressure: bmp280-i2c: " Uwe Kleine-König
2022-11-21 10:16 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 167/606] iio: pressure: dlhl60d: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 168/606] iio: pressure: dps310: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 169/606] iio: pressure: hp03: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 170/606] iio: pressure: hp206c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 171/606] iio: pressure: icp10100: " Uwe Kleine-König
2022-11-22 10:07 ` Jean-Baptiste Maneyrol
2022-11-18 22:38 ` [PATCH 172/606] iio: pressure: mpl115_i2c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 173/606] iio: pressure: mpl3115: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 174/606] iio: pressure: ms5611_i2c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 175/606] iio: pressure: ms5637: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 176/606] iio: pressure: st_pressure_i2c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 177/606] iio: pressure: t5403: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 178/606] iio: pressure: zpa2326_i2c: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 179/606] iio: proximity: isl29501: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 180/606] iio: proximity: mb1232: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 181/606] iio: proximity: pulsedlight-lidar-lite-v2: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 182/606] iio: proximity: rfd77402: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 183/606] iio: proximity: srf08: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 184/606] iio: proximity: sx9500: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 185/606] iio: temperature: mlx90614: " Uwe Kleine-König
2022-11-18 23:03 ` Crt Mori
2022-11-18 22:38 ` [PATCH 186/606] iio: temperature: mlx90632: " Uwe Kleine-König
2022-11-18 23:04 ` Crt Mori
2022-11-19 10:02 ` Uwe Kleine-König
2022-11-20 9:49 ` Crt Mori
2022-11-22 18:35 ` Jonathan Cameron
2022-11-22 21:08 ` Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 187/606] iio: temperature: tmp006: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 188/606] iio: temperature: tmp007: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 189/606] iio: temperature: tsys01: " Uwe Kleine-König
2022-11-18 22:38 ` [PATCH 190/606] iio: temperature: tsys02d: " Uwe Kleine-König
2022-11-18 22:45 ` [PATCH 566/606] staging: iio: adt7316: " Uwe Kleine-König
2022-11-18 22:45 ` [PATCH 567/606] staging: iio: ad5933: " Uwe Kleine-König
2022-11-22 12:22 ` Greg Kroah-Hartman
2022-11-22 13:35 ` Uwe Kleine-König
2022-11-22 18:40 ` Jonathan Cameron
2022-11-18 22:45 ` [PATCH 568/606] staging: iio: ade7854: " 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).