Re: [PATCH 3/5] PCI: mt7621: Use helper function for_each_available_child_of_node_scoped()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zhang,

On Wed, Aug 28, 2024 at 9:51 AM Zhang Zekun <zhangzekun11@xxxxxxxxxx> wrote:
>
> for_each_available_child_of_node_scoped() provides a scope-based cleanup
> functinality to put the device_node automatically, and we don't need to

typo: s/functinality/functionality/g

> call of_node_put() directly.  Let's simplify the code a bit with the use
> of these functions.
>
> Signed-off-by: Zhang Zekun <zhangzekun11@xxxxxxxxxx>
> ---
>  drivers/pci/controller/pcie-mt7621.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
>

With the typo fixed:
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>

Thanks,
    Sergio Paracuellos





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux