aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-09-05 16:23:06 +0800
committerWei Xu <xuwei5@hisilicon.com>2022-09-08 02:27:29 +0000
commit4678a2d352e055a186dd02613d54e30785810fb0 (patch)
tree9d2f6568ed5a32a3c5c5e36ae1da21d2481b0a0b /drivers/firmware/psci/psci.c
parente8cd65061fac64d6d0b5c3f5c3059c326b1492f0 (diff)
downloadlinux-4678a2d352e055a186dd02613d54e30785810fb0.tar.gz
linux-4678a2d352e055a186dd02613d54e30785810fb0.tar.bz2
linux-4678a2d352e055a186dd02613d54e30785810fb0.zip
bus: hisi_lpc: Use platform_device_register_full()
The code to create the child platform device is essentially the same as what platform_device_register_full() does, so change over to use that same function to reduce duplication. Signed-off-by: John Garry <john.garry@huawei.com> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions