mfd: mt6397: Use PLATFORM_DEVID_NONE macro instead of -1
authorFabien Parent <fparent@baylibre.com>
Sun, 20 Oct 2019 15:07:20 +0000 (17:07 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:02 +0000 (08:45 +0000)
commiteb00f70d774fd28142148ad8a4f97db6b1d55f7b
treee70a81bcafe3f337a84dd66691f6a8a910d5677b
parentcbfdc839ea913250bd38528408addf44b27e9e5f
mfd: mt6397: Use PLATFORM_DEVID_NONE macro instead of -1

Use the correct macro when adding the MFD devices instead of using
directly '-1' value.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c