Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-14 Thread Neil Armstrong
On 04/08/2023 16:27, Uwe Kleine-König wrote: Instead of requiring each driver to care for assigning the owner member of struct pwm_ops, handle that implicitly using a macro. Note that the owner member has to be moved to struct pwm_chip, as the ops structure usually lives in read-only memory and

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-09 Thread Michael Walle
Hi, Instead of requiring each driver to care for assigning the owner member of struct pwm_ops, handle that implicitly using a macro. Note that the owner member has to be moved to struct pwm_chip, as the ops structure usually lives in read-only memory and so cannot be modified. The upside is

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-09 Thread Heiko Stuebner
Am Freitag, 4. August 2023, 16:27:06 CEST schrieb Uwe Kleine-König: > Instead of requiring each driver to care for assigning the owner member > of struct pwm_ops, handle that implicitly using a macro. Note that the > owner member has to be moved to struct pwm_chip, as the ops structure > usually

RE: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-08 Thread nobuhiro1.iwamatsu
.infradead.org; > chrome-platf...@lists.linux.dev; linux-m...@vger.kernel.org; > linux-amlo...@lists.infradead.org; linux-ri...@lists.infradead.org; > linux-media...@lists.infradead.org; linux-rockc...@lists.infradead.org; > linux-samsung-...@vger.kernel.org; > linux-st...@st-md-mailma

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-05 Thread Andi Shyti
Hi Uwe, On Fri, Aug 04, 2023 at 04:27:06PM +0200, Uwe Kleine-König wrote: > Instead of requiring each driver to care for assigning the owner member > of struct pwm_ops, handle that implicitly using a macro. Note that the > owner member has to be moved to struct pwm_chip, as the ops structure >

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-04 Thread Jernej Škrabec
Dne petek, 04. avgust 2023 ob 16:27:06 CEST je Uwe Kleine-König napisal(a): > Instead of requiring each driver to care for assigning the owner member > of struct pwm_ops, handle that implicitly using a macro. Note that the > owner member has to be moved to struct pwm_chip, as the ops structure >

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-04 Thread Florian Fainelli
On 8/4/23 07:27, Uwe Kleine-König wrote: Instead of requiring each driver to care for assigning the owner member of struct pwm_ops, handle that implicitly using a macro. Note that the owner member has to be moved to struct pwm_chip, as the ops structure usually lives in read-only memory and so

Re: [PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-04 Thread Andy Shevchenko
On Fri, Aug 4, 2023 at 5:28 PM Uwe Kleine-König wrote: > > Instead of requiring each driver to care for assigning the owner member > of struct pwm_ops, handle that implicitly using a macro. Note that the > owner member has to be moved to struct pwm_chip, as the ops structure > usually lives in

[PATCH v2 1/2] pwm: Manage owner assignment implicitly for drivers

2023-08-04 Thread Uwe Kleine-König
Instead of requiring each driver to care for assigning the owner member of struct pwm_ops, handle that implicitly using a macro. Note that the owner member has to be moved to struct pwm_chip, as the ops structure usually lives in read-only memory and so cannot be modified. The upside is that new