[PATCH 0/6] media: i2c: Convert to probe_new()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The I2C driver framework aims to deprecate the current .probe() function which
requires both an i2c_client structure, and an i2c_device_id structure in favour
of a simpler probe_new() which takes only the i2c_client parameter.

Once all drivers are converted to the probe_new() a global rename can put this
back to probe().

This small series aims to rekindle this effort by converting a selection of the
media based drivers which do not utilise the i2c_device_id parameter and thus are
straightforward renames.

In a future series, these drivers could have their i2c_device_id tables
removed; however doing so may affect their module auto-loading due to a change
in their module alias representations.

I have submitted an RFC patch [0] to discuss if this could be handled at the
file2alias.c component of the modpost stage.

[0] https://lore.kernel.org/lkml/20190710193918.31135-1-kieran.bingham+renesas@xxxxxxxxxxxxxxxx/

Kieran Bingham (6):
  media: radio: si4713: Convert to new i2c device probe()
  media: radio: si470x: Convert to new i2c device probe()
  media: i2c: smiapp: Convert to new i2c device probe()
  media: i2c: s5c73m3: Convert to new i2c device probe()
  media: i2c: et8ek8: Convert to new i2c device probe()
  media: i2c: Convert to new i2c device probe()

 drivers/media/i2c/adv7343.c                   | 5 ++---
 drivers/media/i2c/et8ek8/et8ek8_driver.c      | 5 ++---
 drivers/media/i2c/imx274.c                    | 5 ++---
 drivers/media/i2c/max2175.c                   | 5 ++---
 drivers/media/i2c/mt9m001.c                   | 5 ++---
 drivers/media/i2c/mt9m111.c                   | 5 ++---
 drivers/media/i2c/ov2640.c                    | 5 ++---
 drivers/media/i2c/ov2659.c                    | 5 ++---
 drivers/media/i2c/ov5640.c                    | 5 ++---
 drivers/media/i2c/ov5645.c                    | 5 ++---
 drivers/media/i2c/ov5647.c                    | 5 ++---
 drivers/media/i2c/ov772x.c                    | 5 ++---
 drivers/media/i2c/ov7740.c                    | 5 ++---
 drivers/media/i2c/ov9650.c                    | 5 ++---
 drivers/media/i2c/s5c73m3/s5c73m3-core.c      | 5 ++---
 drivers/media/i2c/s5k5baf.c                   | 5 ++---
 drivers/media/i2c/s5k6a3.c                    | 5 ++---
 drivers/media/i2c/smiapp/smiapp-core.c        | 5 ++---
 drivers/media/i2c/tc358743.c                  | 5 ++---
 drivers/media/i2c/ths8200.c                   | 5 ++---
 drivers/media/i2c/tvp5150.c                   | 5 ++---
 drivers/media/i2c/tvp7002.c                   | 4 ++--
 drivers/media/radio/si470x/radio-si470x-i2c.c | 5 ++---
 drivers/media/radio/si4713/si4713.c           | 5 ++---
 24 files changed, 48 insertions(+), 71 deletions(-)

-- 
2.20.1




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux