Skip to content
Commit 4678a2d3 authored by John Garry's avatar John Garry Committed by Wei Xu
Browse files

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: default avatarJohn Garry <john.garry@huawei.com>
Suggested-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent e8cd6506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment