Re: [PATCH 02/11] regulator: merge struct regulator_internal fields into struct regulator_dev

2023-09-20 Thread Marco Felsch
On 23-09-20, Sascha Hauer wrote: > Each struct regulator_dev instance has a struct regulator_internal > associated with it. The idea was that core internal fields are seen > by the core only. In the end this is more confusing than helpful. We > have a ri->rdev link, but no rdev->ri link so that we

Re: [PATCH 02/11] regulator: merge struct regulator_internal fields into struct regulator_dev

2023-09-20 Thread Marco Felsch
On 23-09-20, Sascha Hauer wrote: > On Wed, Sep 20, 2023 at 12:52:03PM +0200, Marco Felsch wrote: > > Hi Sascha, > > > > On 23-09-20, Sascha Hauer wrote: > > > Each struct regulator_dev instance has a struct regulator_internal > > > associated with it. The idea was that core internal fields are

Re: [PATCH 02/11] regulator: merge struct regulator_internal fields into struct regulator_dev

2023-09-20 Thread Sascha Hauer
On Wed, Sep 20, 2023 at 12:52:03PM +0200, Marco Felsch wrote: > Hi Sascha, > > On 23-09-20, Sascha Hauer wrote: > > Each struct regulator_dev instance has a struct regulator_internal > > associated with it. The idea was that core internal fields are seen > > by the core only. In the end this is

Re: [PATCH 02/11] regulator: merge struct regulator_internal fields into struct regulator_dev

2023-09-20 Thread Marco Felsch
Hi Sascha, On 23-09-20, Sascha Hauer wrote: > Each struct regulator_dev instance has a struct regulator_internal > associated with it. The idea was that core internal fields are seen > by the core only. In the end this is more confusing than helpful. We > have a ri->rdev link, but no rdev->ri

[PATCH 02/11] regulator: merge struct regulator_internal fields into struct regulator_dev

2023-09-20 Thread Sascha Hauer
Each struct regulator_dev instance has a struct regulator_internal associated with it. The idea was that core internal fields are seen by the core only. In the end this is more confusing than helpful. We have a ri->rdev link, but no rdev->ri link so that we can't get a rdev from a ri pointer. We