Re: [RFC 5/5] PCI: tegra: use seq_open_data
From: Lorenzo Pieralisi
Date: Wed Mar 07 2018 - 07:41:17 EST
On Fri, Mar 02, 2018 at 11:42:07AM +0100, Thierry Reding wrote:
> On Fri, Mar 02, 2018 at 12:37:24AM +0100, Rasmus Villemoes wrote:
> > Simplify the code slightly by having seq_open_data do the ->private
> > assignment.
> >
> > Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> > ---
> > drivers/pci/host/pci-tegra.c | 11 +----------
> > 1 file changed, 1 insertion(+), 10 deletions(-)
>
> I had to go hunt for patch 1/5 to be able to tell if this is indeed
> equivalent. It is, so:
>
> Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
> Acked-by: Thierry Reding <treding@xxxxxxxxxx>
I can't apply this patch standalone so I assume this will go via
some other tree; I will drop it from the PCI patch queue, if I
should not please do let me know.
Thanks,
Lorenzo