From: Johan Hovold Date: Fri, 26 Sep 2014 10:55:33 +0000 (+0200) Subject: mfd: core: Fix platform-device id generation X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~27^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3f62f079;p=pandora-kernel.git 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 Signed-off-by: Lee Jones --- Reading git-diff-tree failed