summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold2014-09-26 12:55:33 +0200
committerLee Jones2014-11-25 17:18:43 +0100
commit6e3f62f0793ebff3f91076490ff0fbb107939701 (patch)
tree403503551f4c2d3546858109201aa09172a2f777 /drivers/mfd/Kconfig
parentHID: hid-sensor-hub: Use mfd_add_hotplug_devices() helper (diff)
downloadkernel-qcow2-linux-6e3f62f0793ebff3f91076490ff0fbb107939701.tar.gz
kernel-qcow2-linux-6e3f62f0793ebff3f91076490ff0fbb107939701.tar.xz
kernel-qcow2-linux-6e3f62f0793ebff3f91076490ff0fbb107939701.zip
mfd: core: Fix platform-device id generation
Make sure to always honour multi-function devices registered with PLATFORM_DEVID_NONE (-1) or PLATFORM_DEVID_AUTO (-2) as id base. In this case it does not make sense to append the cell id to the mfd-id base and potentially change the requested behaviour. Specifically this will allow multi-function devices to be registered with PLATFORM_DEVID_AUTO while still having non-zero cell ids. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
0 files changed, 0 insertions, 0 deletions