commit | a7975473cc41773d9f6d8ea72b48c7656e6cd0f6 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Sep 26 12:55:30 2014 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Nov 10 16:30:03 2014 +0000 |
tree | c8435ca96f0f8651677c08193db8cde5a2e004bf | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 [diff] |
mfd: core: Add helper function to register hotplug devices Hot-pluggable multi-function devices should always be registered with PLATFORM_DEVID_AUTO to avoid name collisions on the platform bus. This helper also hides the memory map and irq parameters, which aren't used by hot-pluggable (e.g. USB-based) devices. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>