driver core: platform: Remove platform_device_add_properties()
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 17 Aug 2021 10:24:49 +0000 (13:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 14:08:11 +0000 (16:08 +0200)
commitbd1e336aa8535a99f339e2d66a611984262221ce
treea0f10ab2a0133da2a67b7e77c5f181a235e5a38a
parent6d6e03dbe5eff2044e0ae32acbf8b5dad6efb045
driver core: platform: Remove platform_device_add_properties()

There are no more users for it. The last place where it's
called is in platform_device_register_full(). Replacing that
call with device_create_managed_software_node() and
removing the function.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210817102449.39994-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/platform.c
include/linux/platform_device.h