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)
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>

No differences found