Re: [PATCH net-next v2 3/8] net: pse-pd: Introduce PSE types enumeration

From: Oleksij Rempel
Date: Mon Dec 04 2023 - 07:44:13 EST


On Sun, Dec 03, 2023 at 07:31:01PM +0100, Andrew Lunn wrote:
> > +u32 pse_get_types(struct pse_control *psec)
> > +{
> > + if (!psec->pcdev)
>
> Is that possible?

pcdev is automatically linked within pse_control_get_internal()

--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |