linux_dsm_epyc7002/drivers/i2c
Rafael J. Wysocki ca5b74d267 ACPI: Introduce has_acpi_companion()
Now that the ACPI companions of devices are represented by pointers
to struct fwnode_handle, it is not quite efficient to check whether
or not an ACPI companion of a device is present by evaluating the
ACPI_COMPANION() macro.

For this reason, introduce a special static inline routine for that,
has_acpi_companion(), and update the code to use it where applicable.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-03-16 23:49:08 +01:00
..
algos i2c: remove FSF address 2014-11-07 18:35:33 +01:00
busses ACPI: Introduce has_acpi_companion() 2015-03-16 23:49:08 +01:00
muxes of: i2c: Add i2c-mux-idle-disconnect DT property to PCA954x mux driver 2015-01-23 17:12:56 +01:00
i2c-boardinfo.c i2c: remove FSF address 2014-11-07 18:35:33 +01:00
i2c-core.c driver core / ACPI: Represent ACPI companions using fwnode_handle 2015-03-16 23:49:03 +01:00
i2c-core.h i2c: remove FSF address 2014-11-07 18:35:33 +01:00
i2c-dev.c i2c: remove FSF address 2014-11-07 18:35:33 +01:00
i2c-mux.c i2c: mux: create "channel-n" symlinks for child segments in the mux device 2014-11-18 16:09:49 +01:00
i2c-slave-eeprom.c i2c: slave-eeprom: fix boundary check when using sysfs 2015-01-24 05:43:44 +01:00
i2c-smbus.c i2c: remove FSF address 2014-11-07 18:35:33 +01:00
i2c-stub.c i2c: remove FSF address 2014-11-07 18:35:33 +01:00
Kconfig kconfig: use bool instead of boolean for type definition attributes 2015-01-07 13:08:04 +01:00
Makefile i2c: slave-eeprom: add eeprom simulator driver 2014-12-11 22:25:54 +01:00