[PATCH 0/2] i2c: core: add devm_i2c_new_ancillary_device()

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

 



Add a device-managed version of i2c_new_ancillary_device().

I have an own use case, but was surprised to find it on an old wish list.
https://elinux.org/images/b/b3/I2c_21st-ELCE-2019-Sang.pdf

Heiner Kallweit (2):
  i2c: core: add devm_i2c_new_ancillary_device()
  i2c: core: extend use case for dflt addr in i2c_new_ancillary_device

 drivers/i2c/i2c-core-base.c | 50 ++++++++++++++++++++++++++++---------
 include/linux/i2c.h         |  5 ++++
 2 files changed, 43 insertions(+), 12 deletions(-)

-- 
2.39.1




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux