of: Use PLATFORM_DEVID_NONE definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Aug 2017 15:33:13 +0000 (18:33 +0300)
committerRob Herring <robh@kernel.org>
Fri, 25 Aug 2017 15:50:31 +0000 (10:50 -0500)
commit6d7e3bf8d12c0ae8b297de428e67301df1b95c5f
tree737d75a7f60e2a9c780edf6487bf5dad3133d33e
parent8c2a75e5687e0137ddbb35454c7a1a468079f790
of: Use PLATFORM_DEVID_NONE definition

Use dedicated definition instead of plain -1 where it's appropriate.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/device.c
drivers/of/platform.c