[PATCH v7 03/50] powerpc/pci: Cleanup on struct pci_controller_ops
Daniel Axtens
dja at axtens.net
Fri Nov 6 09:32:57 AEDT 2015
Gavin Shan <gwshan at linux.vnet.ibm.com> writes:
> Each PHB has one instance of "struct pci_controller_ops", which
> includes various callbacks called by PCI subsystem. In the definition
> of this struct, some callbacks have explicit names for its arguments,
> but the left don't have.
>
> This adds all explicit names of the arguments to the callbacks in
> "struct pci_controller_ops" so that the code looks consistent.
Thank you very much for doing this - I should have done it the first
time I created pci_controller_ops.
They all look good, with one nit-pick:
> - void (*shutdown)(struct pci_controller *);
> + void (*shutdown)(struct pci_controller *hose);
I think we're trying to move from hose to phb in new code.
Once that is fixed:
Reviewed-by: Daniel Axtens <dja at axtens.net>
Regards,
Daniel
> };
>
> /*
> --
> 2.1.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151106/aa50f519/attachment.sig>
More information about the Linuxppc-dev
mailing list