Re: [PATCH v10 1/2] gpio: loongson: add gpio driver support

From: Andy Shevchenko
Date: Mon Dec 05 2022 - 07:53:23 EST


On Mon, Dec 05, 2022 at 02:04:09PM +0800, Yinbo Zhu wrote:
> 在 2022/12/3 23:41, Andy Shevchenko 写道:

...

> I just compile it that it is still okay when remove acpi.h, so I will remove
> it in v11.

You need to address all review comments. I don't remember if I reviewed this,
but there are a lot of contribution from your side to the different subsystems
where I have commented on your code and you can check those reviews because
some of the remarks can be applied to this contribution as well.

Nevertheless, please Cc me in your v11 when you consider it will be ready.
Note, you have approx. month now to make it better. Of course you can
send a version to review before that.

...

> and, I'm afraid I didn't catch your meaning about "
>
> what that "nice" container of the platform device for."
>
> you said is for following code ?
> 144 struct platform_device *pdev =
> 145 container_of(chip->parent, struct platform_device, dev);

Have you seen to_platform_device() macro?

--
With Best Regards,
Andy Shevchenko