mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells
authorVignesh R <vigneshr@ti.com>
Mon, 3 Dec 2018 08:01:17 +0000 (13:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:06:58 +0000 (10:06 +0100)
commitfcbdbda22d97b8b7a4dd140776f573e3a1ffaec4
tree3a10d51ce036183bb1bd8efd715fb1f36de2fa5b
parent6704b9d8a075227b018959f5acd2aac3dfcd2e2e
mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells

[ Upstream commit b40ee006fe6a8a25093434e5d394128c356a48f3 ]

Use PLATFORM_DEVID_AUTO to number mfd cells while registering, so that
different instances are uniquely identified. This is required in order
to support registering of multiple instances of same ti_am335x_tscadc IP.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/ti_am335x_tscadc.c