diff options
author | John Garry <john.garry@huawei.com> | 2022-09-05 16:23:06 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2022-09-08 02:27:29 +0000 |
commit | 4678a2d352e055a186dd02613d54e30785810fb0 (patch) | |
tree | 9d2f6568ed5a32a3c5c5e36ae1da21d2481b0a0b /drivers/firmware/psci/psci.c | |
parent | e8cd65061fac64d6d0b5c3f5c3059c326b1492f0 (diff) | |
download | linux-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