mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
a22d6fb262
The devnode array is currently being used for non spmi-dev-container devices as a special case where the number of devnodes is 1. This obfuscates the code and also removes the ability to store the dev-container's device resource information, since in that special case the devnode array is dedicated for the child devices. Add a new spmi_resource entry used for typical spmi_devices, and treat the devnode array as the special case for spmi-dev-container. Also add a new API spmi_get_primary_dev_name() to return the name of the device assigned with the 'label' binding if it exists. Change-Id: Ibe7b12285e37bb0529024558550a96d71393bc10 Signed-off-by: Michael Bohan <mbohan@codeaurora.org> |
||
---|---|---|
.. | ||
address.c | ||
base.c | ||
device.c | ||
fdt.c | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
of_i2c.c | ||
of_mdio.c | ||
of_mtd.c | ||
of_net.c | ||
of_pci.c | ||
of_pci_irq.c | ||
of_slimbus.c | ||
of_spi.c | ||
of_spmi.c | ||
pdt.c | ||
platform.c | ||
selftest.c |