mfd: kempld: Use PLATFORM_DEVID_NONE instead of -1
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Feb 2024 19:49:53 +0000 (21:49 +0200)
committerLee Jones <lee@kernel.org>
Fri, 10 May 2024 14:39:16 +0000 (15:39 +0100)
commitf197c75fe0dc5bc472973207bb193a0f6ac1e264
tree703044eb2f7e0e06be63ba75169b468cd2f30573
parentf0336cc4f139d0faa3e19b400c9ae1d2d177f692
mfd: kempld: Use PLATFORM_DEVID_NONE instead of -1

Use the `PLATFORM_DEVID_NONE` constant instead of hard-coding -1
when creating a platform device.

No functional changes are intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240223195113.880121-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/kempld-core.c