mfd: core: Add helper function to register hotplug devices
authorJohan Hovold <johan@kernel.org>
Fri, 26 Sep 2014 10:55:30 +0000 (12:55 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 10 Nov 2014 16:30:03 +0000 (16:30 +0000)
commita7975473cc41773d9f6d8ea72b48c7656e6cd0f6
treec8435ca96f0f8651677c08193db8cde5a2e004bf
parentf114040e3ea6e07372334ade75d1ee0775c355e1
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>
include/linux/mfd/core.h